public enum LockDescriptorNameType extends java.lang.Enum<LockDescriptorNameType> implements EnumClass<java.lang.String>
Modifier and Type | Method and Description |
---|---|
static LockDescriptorNameType |
fromId(java.lang.String id) |
java.lang.String |
getId() |
static LockDescriptorNameType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LockDescriptorNameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockDescriptorNameType ENTITY
public static final LockDescriptorNameType CUSTOM
public static LockDescriptorNameType[] values()
for (LockDescriptorNameType c : LockDescriptorNameType.values()) System.out.println(c);
public static LockDescriptorNameType 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 LockDescriptorNameType fromId(java.lang.String id)