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.br |
Hibernate Validator Brazilian constraints.
|
org.hibernate.validator.internal.constraintvalidators |
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 |
---|
Pattern
The annotated String must match the following 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 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 © 2018 JBoss by Red Hat. All rights reserved.