|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.core.enums.AbstractLabeledEnum
org.springframework.core.enums.AbstractGenericLabeledEnum
public abstract class AbstractGenericLabeledEnum
Base class for labeled enum instances that aren't static.
Field Summary |
---|
Fields inherited from interface org.springframework.core.enums.LabeledEnum |
---|
CODE_ORDER, DEFAULT_ORDER, LABEL_ORDER |
Constructor Summary | |
---|---|
protected |
AbstractGenericLabeledEnum(java.lang.String label)
Create a new StaticLabeledEnum instance. |
Method Summary | |
---|---|
java.lang.String |
getLabel()
Return a descriptive, optional label. |
Methods inherited from class org.springframework.core.enums.AbstractLabeledEnum |
---|
compareTo, equals, getType, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.springframework.core.enums.LabeledEnum |
---|
getCode |
Constructor Detail |
---|
protected AbstractGenericLabeledEnum(java.lang.String label)
label
- the label; if null
), the enum's code
will be used as labelMethod Detail |
---|
public java.lang.String getLabel()
LabeledEnum
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |