public enum RoleFields extends Enum<RoleFields> implements EntityFields
Role entity.| Enum Constant and Description |
|---|
FULL_NAME |
SHORT_NAME |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get field's name (name of a column in corresponding table)
|
static RoleFields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoleFields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleFields SHORT_NAME
public static final RoleFields FULL_NAME
public static RoleFields[] values()
for (RoleFields c : RoleFields.values()) System.out.println(c);
public static RoleFields 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 getName()
EntityFieldsgetName in interface EntityFields