Package io.vertigo.basics.constraint
Enum Resources
- java.lang.Object
-
- java.lang.Enum<Resources>
-
- io.vertigo.basics.constraint.Resources
-
- All Implemented Interfaces:
io.vertigo.core.locale.MessageKey
,Serializable
,Comparable<Resources>
public enum Resources extends Enum<Resources> implements io.vertigo.core.locale.MessageKey
Dictionnaire des ressources.- Author:
- pchretien
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DYNAMO_CONSTRAINT_DECIMAL_EXCEEDED
Contrainte le format d'un BigDecimal.DYNAMO_CONSTRAINT_DECIMALLENGTH_EXCEEDED
Contrainte de longueur pour un BigDecimal.DYNAMO_CONSTRAINT_INTEGERLENGTH_EXCEEDED
Contrainte de longueur pour un Integer.DYNAMO_CONSTRAINT_LONGLENGTH_EXCEEDED
Contrainte de longueur pour un Long.DYNAMO_CONSTRAINT_NUMBER_MAXIMUM
Contrainte de valeur minimum pour un Number.DYNAMO_CONSTRAINT_NUMBER_MINIMUM
Contrainte de valeur minimum pour un Number.DYNAMO_CONSTRAINT_REGEXP
Contrainte par expression regulière.DYNAMO_CONSTRAINT_STRINGLENGTH_EXCEEDED
Contrainte de longueur pour une String.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Resources
valueOf(String name)
Returns the enum constant of this type with the specified name.static Resources[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DYNAMO_CONSTRAINT_STRINGLENGTH_EXCEEDED
public static final Resources DYNAMO_CONSTRAINT_STRINGLENGTH_EXCEEDED
Contrainte de longueur pour une String.
-
DYNAMO_CONSTRAINT_INTEGERLENGTH_EXCEEDED
public static final Resources DYNAMO_CONSTRAINT_INTEGERLENGTH_EXCEEDED
Contrainte de longueur pour un Integer.
-
DYNAMO_CONSTRAINT_LONGLENGTH_EXCEEDED
public static final Resources DYNAMO_CONSTRAINT_LONGLENGTH_EXCEEDED
Contrainte de longueur pour un Long.
-
DYNAMO_CONSTRAINT_DECIMALLENGTH_EXCEEDED
public static final Resources DYNAMO_CONSTRAINT_DECIMALLENGTH_EXCEEDED
Contrainte de longueur pour un BigDecimal.
-
DYNAMO_CONSTRAINT_DECIMAL_EXCEEDED
public static final Resources DYNAMO_CONSTRAINT_DECIMAL_EXCEEDED
Contrainte le format d'un BigDecimal.
-
DYNAMO_CONSTRAINT_NUMBER_MINIMUM
public static final Resources DYNAMO_CONSTRAINT_NUMBER_MINIMUM
Contrainte de valeur minimum pour un Number.
-
DYNAMO_CONSTRAINT_NUMBER_MAXIMUM
public static final Resources DYNAMO_CONSTRAINT_NUMBER_MAXIMUM
Contrainte de valeur minimum pour un Number.
-
DYNAMO_CONSTRAINT_REGEXP
public static final Resources DYNAMO_CONSTRAINT_REGEXP
Contrainte par expression regulière.
-
-
Method Detail
-
values
public static Resources[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Resources c : Resources.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Resources valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-