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

## Package org.hibernate.validator

Interface Summary
MessageInterpolator | Responsible for validator message interpolation (variable replacement etc) this extension point is useful if the call has some contextual informations to interpolate in validator messages
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
AbstractLuhnValidator | Implement the Luhn algorithm (with Luhn key on the last digit)
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
CreditCardNumberValidator | Check a credit card number through the Luhn algorithm
DigitsValidator | Validate a Digit to check if it matches the according pattern
EANValidator | Validate EAN13 and UPC-A
EmailValidator | Check that a given string is a well-formed email address
Environment | Hibernate Validator Event properties The properties are retrieved from Hibernate (hibernate.properties, hibernate.cfg.xml, persistence.xml or Configuration API)
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.
NotEmptyValidator | Check the non emptyness of the element
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
Version | Hibernate Vaildator version

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
CreditCardNumber | The annotated element has to represent a valid credit card number.
Digits | Check that a given number has `integerDigits` integer digits and `fractionalDigits` fractional digits The constraints are defined at the database level too
EAN | The annotated element has to represent an EAN-13 or UPC-A which aims to check for user mistake, not actual number validity!
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)
NotEmpty | Check that a String is not empty (not null and length > 0) or that a Collection (or array) is not empty (not null and length > 0)
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
Patterns | The annotated element must follow the list of regexp patterns
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