@Documented @Inherited @Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Constraint
Constraint
is a meta annotation to represent constraint on the
component field or the component instance.Modifier and Type | Required Element and Description |
---|---|
Class<? extends Validator<? extends Annotation>> |
value
Returns the
Validator implementation class corresponding to the
constraint to validate the annotated component field or the component
instance. |
public abstract Class<? extends Validator<? extends Annotation>> value
Validator
implementation class corresponding to the
constraint to validate the annotated component field or the component
instance.Validator
implementation class corresponding to the
constraint to validate the annotated component field or the component
instance.Copyright © 2011-2014 Eiichiro Uchiumi. All Rights Reserved.