public enum PropertyConvention extends Enum<PropertyConvention>
Typical conventions used for property names through the system.
| Enum Constant and Description |
|---|
ID
The ID property used in REST endpoints and object mapping.
|
| Modifier and Type | Method and Description |
|---|---|
String |
lowerCaseName() |
static PropertyConvention |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyConvention[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyConvention ID
public static PropertyConvention[] values()
for (PropertyConvention c : PropertyConvention.values()) System.out.println(c);
public static PropertyConvention 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 lowerCaseName()