当前页面:
在线文档首页 >
Spring Framework 1.2.9 API 文档英文版
AbstractGenericLabeledEnum (Spring Framework) - Spring Framework 1.2.9 API 文档英文版
org.springframework.core.enums
Class AbstractGenericLabeledEnum
java.lang.Object
org.springframework.core.enums.AbstractLabeledEnum
org.springframework.core.enums.AbstractGenericLabeledEnum
- All Implemented Interfaces:
- Serializable, Comparable, LabeledEnum
- Direct Known Subclasses:
- LetterCodedLabeledEnum, ShortCodedLabeledEnum, StringCodedLabeledEnum
public abstract class AbstractGenericLabeledEnum
- extends AbstractLabeledEnum
Base class for labeled enum instances that aren't static.
- Since:
- 1.2.6
- Author:
- Keith Donald
- See Also:
- Serialized Form
Method Summary |
String |
getLabel()
Return a descriptive, optional label. |
AbstractGenericLabeledEnum
protected AbstractGenericLabeledEnum(String label)
- Create a new StaticLabeledEnum instance.
- Parameters:
label
- the label (can be null
)
getLabel
public String getLabel()
- Description copied from interface:
LabeledEnum
- Return a descriptive, optional label.
- Specified by:
getLabel
in interface LabeledEnum
- Specified by:
getLabel
in class AbstractLabeledEnum
Copyright (c) 2002-2007 The Spring Framework Project.