Package net.sf.oval.configuration.annotation

Interface Summary
AnnotationCheck<ConstraintAnnotation extends Annotation> Interface for constraint checks that are configurable via annotations.
AnnotationCheckExclusion<ExclusionAnnotation extends Annotation> Interface for constraint checks that are configurable via annotations.
 

Class Summary
AbstractAnnotationCheck<ConstraintAnnotation extends Annotation> Partial implementation of check classes configurable via annotations.
AbstractAnnotationCheckExclusion<ExclusionAnnotation extends Annotation> Partial implementation of check exclusion classes configurable via annotations.
AnnotationsConfigurer Configurer that configures constraints based on annotations tagged with Constraint
BeanValidationAnnotationsConfigurer Constraints configurer that interprets the JSR303 built-in Java Bean Validation annotations: javax.validation.constraints.AssertFalse => net.sf.oval.constraint.AssertFalseCheck javax.validation.constraints.AssertTrue => net.sf.oval.constraint.AssertTrueCheck javax.validation.constraints.DecimalMax => net.sf.oval.constraint.MaxCheck javax.validation.constraints.DecimalMin => net.sf.oval.constraint.MinCheck javax.validation.constraints.Digits => net.sf.oval.constraint.DigitsCheck javax.validation.constraints.Future => net.sf.oval.constraint.FutureCheck javax.validation.constraints.Max => net.sf.oval.constraint.MaxCheck javax.validation.constraints.Min => net.sf.oval.constraint.MinCheck javax.validation.constraints.NotNull => net.sf.oval.constraint.NotNullCheck javax.validation.constraints.Null => net.sf.oval.constraint.AssertNullCheck javax.validation.constraints.Past => net.sf.oval.constraint.PastCheck javax.validation.constraints.Pattern => net.sf.oval.constraint.PatternCheck javax.validation.constraints.Size => net.sf.oval.constraint.SizeCheck javax.validation.Valid => net.sf.oval.constraint.AssertValidCheck
JPAAnnotationsConfigurer Constraints configurer that interprets certain EJB3 JPA annotations: * javax.persistence.Basic(optional=false) => net.sf.oval.constraint.NotNullCheck * javax.persistence.OneToOne(optional=false) => net.sf.oval.constraint.NotNullCheck, net.sf.oval.constraint.AssertValidCheck (if addAssertValidConstraints=true) * javax.persistence.ManyToOne(optional=false) => net.sf.oval.constraint.NotNullCheck, net.sf.oval.constraint.AssertValidCheck (if addAssertValidConstraints=true) * javax.persistence.ManyToMany => net.sf.oval.constraint.AssertValidCheck (if addAssertValidConstraints=true) * javax.persistence.Column(nullable=false) => net.sf.oval.constraint.NotNullCheck * javax.persistence.Column(length=5) => net.sf.oval.constraint.LengthCheck * javax.persistence.Column(precision>0) => net.sf.oval.constraint.RangeCheck (for Numbers only) Important: by default AssertValidChecks are added for n-m relationships.
 

Annotation Types Summary
Constraint Annotations tagged with this annotation represent single-value constraints.
Constraints Annotations tagged with this annotation represent multi-valued constraints.
Exclusion Annotations tagged with this annotation represent constraint exclusion.
IsInvariant Specifies that the return value of the given method (usually a getter method) should be checked whenever the object is validated.
 



Copyright © 2005–2015 The OVal Development Team. All rights reserved.