See: Description
Enum | Description |
---|---|
CompositionType |
The Enum
CompositionType which is used as argument to the annotation ConstraintComposition . |
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. |
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. |
ModCheck |
Modulo check constraint.
|
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. |
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. |
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 |
Validate that the string is a valid 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 © 2018 JBoss by Red Hat. All rights reserved.