Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.hibernate.validator

Interface Summary
PersistentClassConstraint | Interface implemented by the validator when a constraint may be represented in the hibernate metadata
PropertyConstraint | Interface implemented by the validator when a constraint may be represented in a hibernate metadata property
Validator<A extends Annotation> | A constraint validator for a particular annotation

Class Summary
AssertFalseValidator | Check if a given object is false or not
AssertTrueValidator | Check whether an element is true or not
ClassValidator<T> | Engine that take a bean and check every expressed annotation restrictions
EmailValidator | Check that a given string is a well-formed email address
FutureValidator | Check that a given date is in the future, and apply the same restriction at the DB level
InvalidValue | A single violation of a class level or method level constraint.
LengthValidator | Do check a length restriction on a string, and apply expected contraints on hibernate metadata.
MaxValidator | Do check a max restriction on a numeric (whether and actual number or its string representation, and apply expected contraints on hibernate metadata.
MinValidator | Do check a min restriction on a numeric (whether and actual number or its string representation, and apply expected contraints on hibernate metadata.
NotNullValidator | Check a not null restriction on an object and apply the equivalent constraint on hibernate metadata.
PastValidator | Check that a given date is in the past, and apply the same restriction at the DB level
PatternValidator | check if a given element match the regular expression
RangeValidator | The value has to be in a defined range, the constraint is also applied on DB
SizeValidator | Check the size range according to the element

Exception Summary
InvalidStateException | Thrown when the bean has violated one or several of its constraints You can get the violation details in getInvalidValues()

Annotation Types Summary
AssertFalse | The annotated property has to be false.
AssertTrue | The annotated element has to be true
Email | The string has to be a well-formed email address
Future | Check that a Date, a Calendar, or a string representation apply in the future
Length | Apply some length restrictions to the annotated element.
Max | max restriction on a numeric annotated element
Min | min restriction on a numeric annotated elemnt (or the string representation of a numeric)
NotNull | not null constraint
Past | Check that a Date, a Calendar, or a string representation apply in the past
Pattern | The annotated element must follow the regexp pattern
Range | The annotated elemnt has to be in the appropriate range.
Size | Size range for Arrays, Collections or Maps
Valid | Enables recursive validation of an associated object
ValidatorClass | Link between an constraint annotation and it's validator implementation

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES