@Deprecated public abstract class AbstractGenericLabeledEnum extends AbstractLabeledEnum
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
label
Deprecated.
A descriptive label for the enum.
|
CODE_ORDER, DEFAULT_ORDER, LABEL_ORDER
Modifier | Constructor and Description |
---|---|
protected |
AbstractGenericLabeledEnum(java.lang.String label)
Deprecated.
Create a new StaticLabeledEnum instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel()
Deprecated.
Return a descriptive, optional label.
|
compareTo, equals, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCode
private final java.lang.String label
protected AbstractGenericLabeledEnum(java.lang.String label)
label
- the label; if null
), the enum's code
will be used as labelpublic java.lang.String getLabel()
LabeledEnum