static enum AttributeConstraintRule.AttributeConstraintType extends Enum<AttributeConstraintRule.AttributeConstraintType>
| Enum Constant and Description |
|---|
ASSERT_FALSE |
ASSERT_TRUE |
DECIMAL_MAX |
DECIMAL_MIN |
DIGITS |
FUTURE |
MAX |
MIN |
NOT_NULL |
NULL |
PAST |
PATTERN |
SIZE |
| Modifier and Type | Field and Description |
|---|---|
private String |
clazz |
private static Map<String,AttributeConstraintRule.AttributeConstraintType> |
lookup |
| Modifier and Type | Method and Description |
|---|---|
static AttributeConstraintRule.AttributeConstraintType |
get(String clazz) |
String |
getClazz() |
static AttributeConstraintRule.AttributeConstraintType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeConstraintRule.AttributeConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeConstraintRule.AttributeConstraintType ASSERT_FALSE
public static final AttributeConstraintRule.AttributeConstraintType ASSERT_TRUE
public static final AttributeConstraintRule.AttributeConstraintType DECIMAL_MAX
public static final AttributeConstraintRule.AttributeConstraintType DECIMAL_MIN
public static final AttributeConstraintRule.AttributeConstraintType DIGITS
public static final AttributeConstraintRule.AttributeConstraintType FUTURE
public static final AttributeConstraintRule.AttributeConstraintType MAX
public static final AttributeConstraintRule.AttributeConstraintType MIN
public static final AttributeConstraintRule.AttributeConstraintType NOT_NULL
public static final AttributeConstraintRule.AttributeConstraintType NULL
public static final AttributeConstraintRule.AttributeConstraintType PAST
public static final AttributeConstraintRule.AttributeConstraintType PATTERN
public static final AttributeConstraintRule.AttributeConstraintType SIZE
private String clazz
private static final Map<String,AttributeConstraintRule.AttributeConstraintType> lookup
public static AttributeConstraintRule.AttributeConstraintType[] values()
for (AttributeConstraintRule.AttributeConstraintType c : AttributeConstraintRule.AttributeConstraintType.values()) System.out.println(c);
public static AttributeConstraintRule.AttributeConstraintType 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 nullpublic String getClazz()
public static AttributeConstraintRule.AttributeConstraintType get(String clazz)
clazz - Copyright © 2015. All Rights Reserved.