| Package | Description |
|---|---|
| org.hibernate.validator.constraints |
Hibernate Validator specific constraints.
|
| org.hibernate.validator.constraints.br |
Hibernate Validator Brazilian constraints.
|
| org.hibernate.validator.constraints.pl |
Hibernate Validator Polish constraints.
|
| org.hibernate.validator.constraints.time |
Hibernate Validator
Duration constraints. |
| Modifier and Type | Class and Description |
|---|---|
interface |
CreditCardNumber
The annotated element has to represent a valid
credit card number.
|
interface |
Currency
The
MonetaryAmount has to be in the right CurrencyUnit. |
interface |
EAN
Checks that the annotated character sequence is a valid
EAN 13 number.
|
interface |
Email
Deprecated.
use the standard
Email constraint instead |
interface |
NotBlank
Deprecated.
use the standard
NotBlank constraint instead |
interface |
NotEmpty
Deprecated.
use the standard
NotEmpty constraint instead |
interface |
Range
The annotated element has to be in the appropriate range.
|
interface |
URL
Validates the annotated string is an URL.
|
| Modifier and Type | Class and Description |
|---|---|
interface |
CNPJ
Validates a CNPJ (Cadastro de Pessoa Jurídica - Brazilian corporate tax payer registry number).
|
interface |
CPF
Validates a CPF (Cadastro de Pessoa Física - Brazilian individual taxpayer registry number).
|
interface |
TituloEleitoral
Validates a Título Eleitoral (Brazilian Voter ID card number).
|
| Modifier and Type | Class and Description |
|---|---|
interface |
NIP
Validates that a
CharSequence is a NIP number (9-digit Polish VAT identification number). |
interface |
PESEL
Validates that a
CharSequence is a PESEL (Polish national identification number). |
interface |
REGON
Validates that a
CharSequence is a REGON number (9/14-digit Polish Taxpayer Identification Number). |
| Modifier and Type | Class and Description |
|---|---|
interface |
DurationMax
The annotated
Duration element must be shorter than or equal to the one constructed as a sum of
DurationMax.nanos(), DurationMax.millis(), DurationMax.seconds(),
DurationMax.minutes(), DurationMax.hours(), DurationMax.days(). |
interface |
DurationMin
The annotated
Duration element must be longer than or equal to the one constructed as a sum of
DurationMin.nanos(), DurationMin.millis(), DurationMin.seconds(),
DurationMin.minutes(), DurationMin.hours(), DurationMin.days(). |
Copyright © 2019 JBoss by Red Hat. All rights reserved.