See: Description
| Annotation Type | Description |
|---|---|
| AgeLimitCheck |
The annotated Date must be
minYears or more in the past. |
| AgeLimitCheck.List |
Defines several
AgeLimitCheck annotations on the same element. |
| AlternateSize |
The annotated element size must be exactly match size1 or size2.
|
| AlternateSize.List |
Defines several
AlternateSize annotations on the same element. |
| BankCountry |
The annotated bean must contain three properties:
country code (option
fieldCountryCode)
iban (option fieldIban)
bic (option fieldBic)
The country codes of iban and bic are checked against the country code for validity. |
| BankCountry.List |
Defines several
BankCountry annotations on the same element. |
| Bic |
The annotated element must be a valid BIC (Business Identifier Code in the past also known as
Bank Identifier Code).
|
| Bic.List |
Defines several
@BIC annotations on the same element. |
| BicValue |
The annotated element must be a valid BIC (Business Identifier Code in the past also known as
Bank Identifier Code).
|
| BicValue.List |
Defines several
@BicValue annotations on the same element. |
| CreditCardNumber |
The annotated element must be a valid credit card number.
|
| CreditCardNumber.List |
Defines several
@CreditCardNumber annotations on the same element. |
|
The annotated element must be a valid eMail.
|
|
| Email.List |
Defines several
@Email annotations on the same element. |
| EmptyIfOtherHasValue |
The annotated bean must contain at least two properties:
a field that has to be checked (option
field)
a field which entry is compared against a value (option fieldCompare and
valueCompare)
if the entry of fieldCompare matches valueCompare, field
must be empty (null or ""). |
| EmptyIfOtherHasValue.List |
Defines several
@MustBeEmptyIfOtherHasValue annotations on the same element. |
| EmptyIfOtherIsEmpty |
The annotated bean must contain at least two properties:
a field that has to be checked (option
field)
a field which entry is compared (option fieldCompare)
if the entry of fieldCompare is empty (null or ""), field must be also
empty (null or ""). |
| EmptyIfOtherIsEmpty.List |
Defines several
MustBeEmptyIfOtherIsEmpty annotations on the same element. |
| EmptyIfOtherIsNotEmpty |
The annotated bean must contain at least two properties:
a field that has to be checked (option
field)
a field which entry is compared (option fieldCompare)
if the entry of fieldCompare is not empty (null or ""), field must be
empty (null or ""). |
| EmptyIfOtherIsNotEmpty.List |
Defines several
@MustBeEmptyIfOtherIsFilled annotations on the same element. |
| Gln |
The annotated element must be a valid Global Location Number (until 2009 known as International
Location Number).
|
| Gln.List |
Defines several
@Gln annotations on the same element. |
| Gtin |
The annotated element must be a valid Global Trade Item Number (until 2009 known as European
Article Number) in the long (13 digits) or short (8 digits) format.
|
| Gtin.List |
Defines several
@Gtin annotations on the same element. |
| Gtin13 |
The annotated element must be a valid Global Trade Item Number (until 2009 known as European
Article Number) in the long (13 digits) format.
|
| Gtin13.List |
Defines several
@Gtin13 annotations on the same element. |
| Gtin8 |
The annotated element must be a valid Global Trade Item Number (until 2009 known as European
Article Number) in the short (8 digits) format.
|
| Gtin8.List |
Defines several
@Gtin8 annotations on the same element. |
| Iban |
The annotated element must be a valid International Bank Account Number.
|
| Iban.List |
Defines several
@Iban annotations on the same element. |
| IbanFormated |
The annotated element must be a valid International Bank Account Number.
|
| IbanFormated.List |
Defines several
@IbanFormated annotations on the same element. |
| Isbn |
The annotated element must be a valid International Standard Book Number in the long (13 digits)
or short (10 digits) format.
|
| Isbn.List |
Defines several
@Isbn annotations on the same element. |
| Isbn10 |
The annotated element must be a valid International Standard Book Number in the short (10 digits)
format.
|
| Isbn10.List |
Defines several
@Isbn10 annotations on the same element. |
| Isbn10Formated |
The annotated element must be a valid International Standard Book Number in the short (10 digits)
format.
|
| Isbn10Formated.List |
Defines several
@Isbn10Formated annotations on the same element. |
| Isbn13 |
The annotated element must be a valid International Standard Book Number in the long (13 digits)
format.
|
| Isbn13.List |
Defines several
@Isbn13 annotations on the same element. |
| Isbn13Formated |
The annotated element must be a valid International Standard Book Number in the long (13 digits)
format.
|
| Isbn13Formated.List |
Defines several
@Isbn13Formated annotations on the same element. |
| IsbnFormated |
The annotated element must be a valid International Standard Book Number in the long (13 digits)
or short (10 digits) format.
|
| IsbnFormated.List |
Defines several
@IsbnFormated annotations on the same element. |
| Isin |
The annotated element must be a valid International Securities Identification Number.
|
| Isin.List |
Defines several
@Isin annotations on the same element. |
| LevenshteinDistance |
The annotated bean must contain exact three properties:
a field that has to be checked (option
field1)
a field which entry is compared (option field2)
the minimum levenshtein distance both field entries must have (option
minDistance)
add the error to field1 (option addErrorToField1, default true)
add the error to field2 (option addErrorToField2, default true)
The Levenshtein distance between the entry of fieldCompare and field is
calculated, it must be equal or greater then the value of minDistance. not be empty (null or ""). |
| LevenshteinDistance.List |
Defines several
@LevenshteinDistance annotations on the same element. |
| MustBeEqual |
The annotated bean must contain at least two properties:
a field to compare (option
field1)
another field to compared (option field2)
add the error to field1 (option addErrorToField1, default true)
add the error to field2 (option addErrorToField2, default true)
the entry of field1 must be equal to the entry of field2, can be used
e.g. for password and password repeat fields. |
| MustBeEqual.List |
Defines several
MustBeEqual annotations on the same element. |
| MustNotBeEqual |
The annotated bean must contain at least two properties:
a field to compare (option
field1)
another field to compared (option field2)
add the error to field1 (option addErrorToField1, default true)
add the error to field2 (option addErrorToField2, default true)
the entry of field1 must not be equal to the entry of field2, can be
used e.g. for password old and password new fields. |
| MustNotBeEqual.List |
Defines several
MustNotBeEqual annotations on the same element. |
| NotEmptyAlternateIfOtherHasValue |
The annotated bean must contain at least three properties:
a field that has to be checked (option
field)
a field that has alternate to be checked (option fieldAlternate)
a field which entry is compared against a value (option fieldCompare and
valueCompare)
if the entry of fieldCompare matches valueCompare, field
or alternate fieldAlternate must not be empty (null or ""). |
| NotEmptyAlternateIfOtherHasValue.List |
Defines several
MustBeAlternateFilledIfOtherHasValue annotations on the same element. |
| NotEmptyAlternateIfOtherIsEmpty |
The annotated bean must contain at least three properties:
a field that has to be checked (option
field)
a field that has alternate to be checked (option fieldAlternate)
a field which entry is compared (option fieldCompare)
if the entry of fieldCompare is empty (null or ""), field or alternate
fieldAlternate must not be empty (null or ""). |
| NotEmptyAlternateIfOtherIsEmpty.List |
Defines several
MustBeAlternateFilledIfOtherIsEmpty annotations on the same element. |
| NotEmptyAlternateIfOtherIsNotEmpty |
The annotated bean must contain at least three properties:
a field that has to be checked (option
field)
a field that has alternate to be checked (option fieldAlternate)
a field which entry is compared (option fieldCompare)
if the entry of fieldCompare is not empty (null or ""), field or
alternate fieldAlternate must not be empty (null or ""). |
| NotEmptyAlternateIfOtherIsNotEmpty.List |
Defines several
MustBeAlternateFilledIfOtherIsFilled annotations on the same element. |
| NotEmptyIfOtherHasValue |
The annotated bean must contain at least two properties:
a field that has to be checked (option
field)
a field which entry is compared against a value (option fieldCompare and
valueCompare)
if the entry of fieldCompare matches valueCompare, field
must not be empty (null or ""). |
| NotEmptyIfOtherHasValue.List |
Defines several
@MustBeFilledIfOtherHasValue annotations on the same element. |
| NotEmptyIfOtherIsEmpty |
The annotated bean must contain at least two properties:
a field that has to be checked (option
field)
a field which entry is compared (option fieldCompare)
if the entry of fieldCompare is empty (null or ""), field must not be
empty (null or ""). |
| NotEmptyIfOtherIsEmpty.List |
Defines several
MustBeFilledIfOtherIsEmpty annotations on the same element. |
| NotEmptyIfOtherIsNotEmpty |
The annotated bean must contain at least two properties:
a field that has to be checked (option
field)
a field which entry is compared (option fieldCompare)
if the entry of fieldCompare is not empty (null or ""), field must also
not be empty (null or ""). |
| NotEmptyIfOtherIsNotEmpty.List |
Defines several
@MustBeFilledIfOtherIsFilled annotations on the same element. |
| Password |
The annotated element must be a valid password.
|
| Password.List |
Defines several
Password annotations on the same element. |
| PhoneNumber |
The annotated element must be a valid phone number format.
|
| PhoneNumber.List |
Defines several
@PhoneNumber annotations on the same element. |
| PhoneNumberValue |
The annotated element must be a valid phone number format.
|
| PhoneNumberValue.List |
Defines several
@PhoneNumberValue annotations on the same element. |
| PostalCode |
The annotated bean must contain two properties:
country code (option
fieldCountryCode)
postal code/zip (option fieldPostalCode)
The postal code is checked against country specific rules for validity. |
| PostalCode.List |
Defines several
@PostalCode annotations on the same element. |
| RegularExpression |
The annotated element must be a valid regular expression.
|
| RegularExpression.List |
Defines several
@RegularExpression annotations on the same element. |
| SizeWithoutSeparators |
The annotated element size must be between the specified boundaries (included).
|
| SizeWithoutSeparators.List |
Defines several
SizeWithoutSeparators annotations on the same element. |
| Url |
The annotated element must be a valid url.
|
| Url.List |
Defines several
@URL annotations on the same element. |
| VatId |
The annotated bean must contain two properties:
country code (option
fieldCountryCode)
vat id (option fieldVatId)
The vat id is checked against country specific rules for validity. |
| VatId.List |
Defines several
@VatId annotations on the same element. |
Copyright © 2015–2016. All rights reserved.