public enum ConstraintCheckType extends java.lang.Enum<ConstraintCheckType> implements EnumClass<java.lang.String>
| Enum Constant and Description |
|---|
DATABASE |
DATABASE_AND_MEMORY |
MEMORY |
| Modifier and Type | Method and Description |
|---|---|
boolean |
database() |
static ConstraintCheckType |
fromId(java.lang.String id) |
java.lang.String |
getId() |
boolean |
memory() |
static ConstraintCheckType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintCheckType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintCheckType DATABASE_AND_MEMORY
public static final ConstraintCheckType DATABASE
public static final ConstraintCheckType MEMORY
public static ConstraintCheckType[] values()
for (ConstraintCheckType c : ConstraintCheckType.values()) System.out.println(c);
public static ConstraintCheckType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ConstraintCheckType fromId(java.lang.String id)
public boolean database()
public boolean memory()