See: Description
Enum | Description |
---|---|
CompositionType |
The Enum
CompositionType which is used as argument to the annotation ConstraintComposition . |
EAN.Type | |
Mod11Check.ProcessingDirection | |
ModCheck.ModType | |
SafeHtml.WhiteListType |
Defines default whitelist implementations.
|
Annotation Type | Description |
---|---|
ConstraintComposition |
Boolean operator that is applied to all constraints of a composing constraint annotation.
|
CreditCardNumber |
The annotated element has to represent a valid
credit card number.
|
CreditCardNumber.List |
Defines several
@CreditCardNumber annotations on the same element. |
EAN |
Checks that the annotated character sequence is a valid
EAN 13 number.
|
EAN.List |
Defines several
@NotBlank annotations on the same element. |
The string has to be a well-formed email address.
|
|
Email.List |
Defines several
@Email annotations on the same element. |
Length |
Validate that the string is between min and max included.
|
Length.List |
Defines several
@Length annotations on the same element. |
LuhnCheck |
Luhn algorithm check constraint.
|
LuhnCheck.List |
Defines several
@LuhnCheck annotations on the same element. |
Mod10Check |
@Modulo 10 check constraint.
|
Mod10Check.List |
Defines several
@Mod10Check annotations on the same element. |
Mod11Check |
Modulo 11 check constraint.
|
Mod11Check.List |
Defines several
@Mod11Check annotations on the same element. |
ModCheck | Deprecated
As of release 5.1.0, replaced by
Mod10Check and Mod11Check |
ModCheck.List |
Defines several
@ModCheck annotations on the same element. |
NotBlank |
Validate that the annotated string is not
null or empty. |
NotBlank.List |
Defines several
@NotBlank annotations on the same element. |
NotEmpty |
Asserts that the annotated string, collection, map or array is not
null or empty. |
NotEmpty.List |
Defines several
@NotEmpty annotations on the same element. |
ParameterScriptAssert |
A method-level constraint, that evaluates a script expression against the
annotated method or constructor.
|
ParameterScriptAssert.List |
Defines several
ParameterScriptAssert annotations on the same executable. |
Range |
The annotated element has to be in the appropriate range.
|
Range.List |
Defines several
@Range annotations on the same element. |
SafeHtml |
Validate a rich text value provided by the user to ensure that it contains no malicious code, such as embedded
<script> elements.
|
SafeHtml.List |
Defines several
@SafeHtml annotations on the same element. |
SafeHtml.Tag |
Allows to specify whitelist tags with specified optional attributes.
|
ScriptAssert |
A class-level constraint, that evaluates a script expression against the
annotated element.
|
ScriptAssert.List |
Defines several
@ScriptAssert annotations on the same element. |
URL |
Validates the annotated string is an URL.
|
URL.List |
Defines several
@URL annotations on the same element. |
Hibernate Validator specific constraints.
This package is part of the public Hibernate Validator API.
Copyright © 2017 JBoss by Red Hat. All rights reserved.