|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bval.jsr303.AnnotationConstraintBuilder<A>
final class AnnotationConstraintBuilder<A extends Annotation>
Description: helper class that builds a ConstraintValidation
or its
composite constraint validations by parsing the jsr303-annotations and
providing information (e.g. for @OverridesAttributes)
Constructor Summary | |
---|---|
AnnotationConstraintBuilder(Class<? extends ConstraintValidator<A,?>>[] validatorClasses,
ConstraintValidator<A,?> constraintValidator,
A annotation,
Class<?> owner,
AccessStrategy access)
Create a new AnnotationConstraintBuilder instance. |
Method Summary | |
---|---|
void |
addComposed(ConstraintValidation<?> composite)
initialize a child composite 'validation' with @OverridesAttribute from 'constraintValidation' and add to composites. |
ConstraintValidation<?> |
getConstraintValidation()
Get the configured ConstraintValidation . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationConstraintBuilder(Class<? extends ConstraintValidator<A,?>>[] validatorClasses, ConstraintValidator<A,?> constraintValidator, A annotation, Class<?> owner, AccessStrategy access)
validatorClasses
- constraintValidator
- annotation
- owner
- access
- Method Detail |
---|
public ConstraintValidation<?> getConstraintValidation()
ConstraintValidation
.
ConstraintValidation
public void addComposed(ConstraintValidation<?> composite)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |