|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.oval.configuration.annotation.BeanValidationAnnotationsConfigurer
public class BeanValidationAnnotationsConfigurer
Constraints configurer that interprets the JSR303 built-in Java Bean Validation annotations:
Constructor Summary | |
---|---|
BeanValidationAnnotationsConfigurer()
|
Method Summary | |
---|---|
protected void |
configureConstructorParameterChecks(ClassConfiguration classCfg)
|
protected void |
configureFieldChecks(ClassConfiguration classCfg)
|
protected void |
configureMethodChecks(ClassConfiguration classCfg)
configure method return value and parameter checks |
ClassConfiguration |
getClassConfiguration(Class<?> clazz)
Returns the constraint configurations for the given class. |
ConstraintSetConfiguration |
getConstraintSetConfiguration(String constraintSetId)
Returns the constraint configuration for the constraint set with the given Id. |
protected void |
initializeChecks(Annotation annotation,
Collection<Check> checks)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanValidationAnnotationsConfigurer()
Method Detail |
---|
protected void configureConstructorParameterChecks(ClassConfiguration classCfg)
protected void configureFieldChecks(ClassConfiguration classCfg)
protected void configureMethodChecks(ClassConfiguration classCfg)
public ClassConfiguration getClassConfiguration(Class<?> clazz)
getClassConfiguration
in interface Configurer
clazz
- the class to get the configuration for
public ConstraintSetConfiguration getConstraintSetConfiguration(String constraintSetId)
getConstraintSetConfiguration
in interface Configurer
constraintSetId
- the ID of the constraint set
protected void initializeChecks(Annotation annotation, Collection<Check> checks)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |