public enum ConstraintOperationType extends java.lang.Enum<ConstraintOperationType> implements com.haulmont.chile.core.datatypes.impl.EnumClass<java.lang.String>
Enum Constant and Description |
---|
ALL |
CREATE |
CUSTOM |
DELETE |
READ |
UPDATE |
Modifier and Type | Method and Description |
---|---|
static ConstraintOperationType |
fromId(java.lang.String id) |
java.lang.String |
getId() |
static ConstraintOperationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintOperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintOperationType CREATE
public static final ConstraintOperationType READ
public static final ConstraintOperationType UPDATE
public static final ConstraintOperationType DELETE
public static final ConstraintOperationType ALL
public static final ConstraintOperationType CUSTOM
public static ConstraintOperationType[] values()
for (ConstraintOperationType c : ConstraintOperationType.values()) System.out.println(c);
public static ConstraintOperationType 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 java.lang.String getId()
getId
in interface com.haulmont.chile.core.datatypes.impl.EnumClass<java.lang.String>
public static ConstraintOperationType fromId(java.lang.String id)