Package io.vertigo.basics.constraint
Enum Class Resources
- All Implemented Interfaces:
io.vertigo.core.locale.LocaleMessageKey,Serializable,Comparable<Resources>,Constable
Dictionnaire des ressources.
- Author:
- pchretien
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionContrainte le format d'un BigDecimal.Contrainte de longueur pour un BigDecimal.Contrainte de longueur pour un Integer.Contrainte de longueur pour un Long.Contrainte de valeur minimum pour un Number.Contrainte de valeur minimum pour un Number.Contrainte par expression regulière.Contrainte de longueur pour une String. -
Method Summary
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface io.vertigo.core.locale.LocaleMessageKey
name
-
Enum Constant Details
-
DYNAMO_CONSTRAINT_STRINGLENGTH_EXCEEDED
Contrainte de longueur pour une String. -
DYNAMO_CONSTRAINT_INTEGERLENGTH_EXCEEDED
Contrainte de longueur pour un Integer. -
DYNAMO_CONSTRAINT_LONGLENGTH_EXCEEDED
Contrainte de longueur pour un Long. -
DYNAMO_CONSTRAINT_DECIMALLENGTH_EXCEEDED
Contrainte de longueur pour un BigDecimal. -
DYNAMO_CONSTRAINT_DECIMAL_EXCEEDED
Contrainte le format d'un BigDecimal. -
DYNAMO_CONSTRAINT_NUMBER_MINIMUM
Contrainte de valeur minimum pour un Number. -
DYNAMO_CONSTRAINT_NUMBER_MAXIMUM
Contrainte de valeur minimum pour un Number. -
DYNAMO_CONSTRAINT_REGEXP
Contrainte par expression regulière.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-