Enum AbstractConstraintTest.Constraint
- java.lang.Object
-
- java.lang.Enum<AbstractConstraintTest.Constraint>
-
- de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest.Constraint
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractConstraintTest.Constraint>
- Enclosing class:
- AbstractConstraintTest
protected static enum AbstractConstraintTest.Constraint extends java.lang.Enum<AbstractConstraintTest.Constraint>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSERT_FALSE
ASSERT_TRUE
BEANSHELL
DECIMAL_MAX
DECIMAL_MIN
DIGITS
FUTURE
HYBRIS_DECIMAL_MAX
HYBRIS_DECIMAL_MIN
MAX
MIN
NOT_NULL
NULL
PAST
PATTERN
SIZE
XOR_NOT_NULL_REFERENCE
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
msgKey
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractConstraintTest.Constraint
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractConstraintTest.Constraint[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASSERT_FALSE
public static final AbstractConstraintTest.Constraint ASSERT_FALSE
-
ASSERT_TRUE
public static final AbstractConstraintTest.Constraint ASSERT_TRUE
-
NOT_NULL
public static final AbstractConstraintTest.Constraint NOT_NULL
-
NULL
public static final AbstractConstraintTest.Constraint NULL
-
DECIMAL_MIN
public static final AbstractConstraintTest.Constraint DECIMAL_MIN
-
DECIMAL_MAX
public static final AbstractConstraintTest.Constraint DECIMAL_MAX
-
HYBRIS_DECIMAL_MIN
public static final AbstractConstraintTest.Constraint HYBRIS_DECIMAL_MIN
-
HYBRIS_DECIMAL_MAX
public static final AbstractConstraintTest.Constraint HYBRIS_DECIMAL_MAX
-
DIGITS
public static final AbstractConstraintTest.Constraint DIGITS
-
FUTURE
public static final AbstractConstraintTest.Constraint FUTURE
-
PAST
public static final AbstractConstraintTest.Constraint PAST
-
PATTERN
public static final AbstractConstraintTest.Constraint PATTERN
-
MAX
public static final AbstractConstraintTest.Constraint MAX
-
MIN
public static final AbstractConstraintTest.Constraint MIN
-
SIZE
public static final AbstractConstraintTest.Constraint SIZE
-
BEANSHELL
public static final AbstractConstraintTest.Constraint BEANSHELL
-
XOR_NOT_NULL_REFERENCE
public static final AbstractConstraintTest.Constraint XOR_NOT_NULL_REFERENCE
-
-
Method Detail
-
values
public static AbstractConstraintTest.Constraint[] 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 (AbstractConstraintTest.Constraint c : AbstractConstraintTest.Constraint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractConstraintTest.Constraint valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-