Package org.hibernate.validator.constraints
package org.hibernate.validator.constraints
Hibernate Validator specific constraints.
This package is part of the public Hibernate Validator API.
-
ClassDescriptionThe string has to be a well-formed BTC (Bitcoin) Mainnet address.Validate that the code point length of a character sequence is between min and max included.Defines several
@CodePointLength
annotations on the same element.Strategy for normalization.The EnumCompositionType
which is used as argument to the annotationConstraintComposition
.Boolean operator that is applied to all constraints of a composing constraint annotation.The annotated element has to represent a valid credit card number.Defines several@CreditCardNumber
annotations on the same element.TheMonetaryAmount
has to be in the rightCurrencyUnit
.Defines several@Currency
annotations on the same element.Checks that the annotated character sequence is a valid EAN 13 number.Defines several@EAN
annotations on the same element.Checks that the annotated character sequence is a valid ISBN.Defines several@ISBN
annotations on the same element.Defines the ISBN length.Validate that the string is between min and max included.Defines several@Length
annotations on the same element.Luhn algorithm check constraint.Defines several@LuhnCheck
annotations on the same element.@Modulo 10 check constraint.Defines several@Mod10Check
annotations on the same element.Modulo 11 check constraint.Defines several@Mod11Check
annotations on the same element.Validate that a character sequence is of normalization form.Defines several@Normalized
annotations on the same element.A method-level constraint, that evaluates a script expression against the annotated method or constructor.Defines severalParameterScriptAssert
annotations on the same executable.The annotated element has to be in the appropriate range.Defines several@Range
annotations on the same element.A class-level constraint, that evaluates a script expression against the annotated element.Defines several@ScriptAssert
annotations on the same element.Validates that every object in the providedCollection
is unique, i.e. that we can't find 2 equal elements in the collection.Defines several@UniqueElements
annotations on the same element.Validates the annotated string is an URL.Defines several@URL
annotations on the same element.Checks that the annotated character sequence is a valid UUID.Required letter case for hex charactersDefines several@UUID
annotations on the same element.