Package | Description |
---|---|
javax.validation.constraints |
Contains all the Bean Validation provided constraints
also called built-in 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.br |
Hibernate Validator Brazilian constraints.
|
org.hibernate.validator.internal.constraintvalidators.bv |
Implementations of the Bean Validation built-in constraints.
|
org.hibernate.validator.internal.constraintvalidators.bv.future |
Constraint validator implementations of the Bean Validation
Future constraint. |
org.hibernate.validator.internal.constraintvalidators.bv.past |
Constraint validator implementations of the Bean Validation
Past constraint. |
org.hibernate.validator.internal.constraintvalidators.bv.size |
Implementations of the Bean Validation
Size constraint. |
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
CharSequence must match the specified regular expression. |
Size
The annotated element size must be between the specified boundaries (included).
|
Class and Description |
---|
Pattern
The annotated
CharSequence must match the specified regular expression. |
Pattern.List
Defines several
Pattern annotations on the same element. |
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 specified minimum.
|
Digits
The annotated element must be a number within accepted range
Supported types are:
BigDecimal
BigInteger
CharSequence
byte , short , int , long , and their respective
wrapper types
null elements are considered valid. |
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 . |
Pattern
The annotated
CharSequence must match the specified regular expression. |
Class and Description |
---|
Future
The annotated element must be a date in the future.
|
Class and Description |
---|
Past
The annotated element must be a date in the past.
|
Class and Description |
---|
Size
The annotated element size must be between the specified boundaries (included).
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.