Enum ContainedInValidation.ContainMode
- java.lang.Object
-
- java.lang.Enum<ContainedInValidation.ContainMode>
-
- org.cyclos.impl.utils.validation.validations.ContainedInValidation.ContainMode
-
- All Implemented Interfaces:
Serializable,Comparable<ContainedInValidation.ContainMode>
- Enclosing class:
- ContainedInValidation
public static enum ContainedInValidation.ContainMode extends Enum<ContainedInValidation.ContainMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContainedInValidation.ContainModevalueOf(String name)Returns the enum constant of this type with the specified name.static ContainedInValidation.ContainMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_OF
public static final ContainedInValidation.ContainMode ALL_OF
-
ANY_OF
public static final ContainedInValidation.ContainMode ANY_OF
-
-
Method Detail
-
values
public static ContainedInValidation.ContainMode[] 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 (ContainedInValidation.ContainMode c : ContainedInValidation.ContainMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContainedInValidation.ContainMode 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
-
-