| Package | Description |
|---|---|
| javax.validation.constraints | |
| org.hibernate.validator.cfg.defs |
Constraint definition classes for programmatic constraint
definition API.
|
| org.hibernate.validator.constraints |
Hibernate Validator specific constraints.
|
| org.hibernate.validator.constraints.impl |
Implementations of the Bean Validation built-in as well as
Hibernate Validator specific constraints.
|
| Class and Description |
|---|
| Pattern.Flag
Possible Regexp flags
|
| Class and Description |
|---|
| Pattern.Flag
Possible Regexp flags
|
| Class and Description |
|---|
| Max
The annotated element must be a number whose value must be lower or
equal to the specified maximum.
|
| Min
The annotated element must be a number whose value must be higher or
equal to the specified minimum.
|
| NotNull
The annotated element must not be
null. |
| Pattern
The annotated String must match the following regular expression.
|
| Size
The annotated element size must be between the specified boundaries (included).
|
| Class and Description |
|---|
| AssertFalse
The annotated element must be false.
|
| AssertTrue
The annotated element must be true.
|
| DecimalMax
The annotated element must be a number whose value must be lower or
equal to the specified maximum.
|
| DecimalMin
The annotated element must be a number whose value must be higher or
equal to the specificed minimum.
|
| Digits
The annotated element must be a number within accepted range
Supported types are:
BigDecimal
BigInteger
String
byte, short, int, long,
and their respective wrapper types
null elements are considered valid |
| Future
The annotated element must be a date in the future.
|
| Max
The annotated element must be a number whose value must be lower or
equal to the specified maximum.
|
| Min
The annotated element must be a number whose value must be higher or
equal to the specified minimum.
|
| NotNull
The annotated element must not be
null. |
| Null
The annotated element must be
null. |
| Past
The annotated element must be a date in the past.
|
| Pattern
The annotated String must match the following regular expression.
|
| Size
The annotated element size must be between the specified boundaries (included).
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.