public static enum LengthValidator.Type extends Enum<LengthValidator.Type>
Enum Constant and Description |
---|
EXACT
Check for exact length.
|
MAXIMUM
Check for maximum length.
|
MINIMUM
Check for minimum length.
|
Modifier and Type | Method and Description |
---|---|
static LengthValidator.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LengthValidator.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LengthValidator.Type MINIMUM
public static final LengthValidator.Type MAXIMUM
public static final LengthValidator.Type EXACT
public static LengthValidator.Type[] values()
for (LengthValidator.Type c : LengthValidator.Type.values()) System.out.println(c);
public static LengthValidator.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a