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