Enum CollectionFieldExpressionValidator.Mode
- java.lang.Object
-
- java.lang.Enum<CollectionFieldExpressionValidator.Mode>
-
- org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.Mode
-
- All Implemented Interfaces:
Serializable
,Comparable<CollectionFieldExpressionValidator.Mode>
- Enclosing class:
- CollectionFieldExpressionValidator
public static enum CollectionFieldExpressionValidator.Mode extends Enum<CollectionFieldExpressionValidator.Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
toutes les valeurs de la collection doivent etre validesAT_LEAST_ONE
au moins une entrée de la collection doit etre valideEXACTLY_ONE
exactement une entrée dela collection doit être valideNONE
aucune valeur de la collection doivent etre validesUNIQUE_KEY
detection de clef unique
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CollectionFieldExpressionValidator.Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static CollectionFieldExpressionValidator.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AT_LEAST_ONE
public static final CollectionFieldExpressionValidator.Mode AT_LEAST_ONE
au moins une entrée de la collection doit etre valide
-
EXACTLY_ONE
public static final CollectionFieldExpressionValidator.Mode EXACTLY_ONE
exactement une entrée dela collection doit être valide
-
ALL
public static final CollectionFieldExpressionValidator.Mode ALL
toutes les valeurs de la collection doivent etre valides
-
NONE
public static final CollectionFieldExpressionValidator.Mode NONE
aucune valeur de la collection doivent etre valides
-
UNIQUE_KEY
public static final CollectionFieldExpressionValidator.Mode UNIQUE_KEY
detection de clef unique
-
-
Method Detail
-
values
public static CollectionFieldExpressionValidator.Mode[] 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 (CollectionFieldExpressionValidator.Mode c : CollectionFieldExpressionValidator.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CollectionFieldExpressionValidator.Mode 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
-
-