|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Deprecated public interface LabeledEnumResolver
Interface for looking up LabeledEnum instances.
| Method Summary | |
|---|---|
LabeledEnum |
getLabeledEnumByCode(Class type,
Comparable code)
Deprecated. Resolve a single LabeledEnum by its identifying code. |
LabeledEnum |
getLabeledEnumByLabel(Class type,
String label)
Deprecated. Resolve a single LabeledEnum by its identifying code. |
Map |
getLabeledEnumMap(Class type)
Deprecated. Return a map of enumerations of a particular type. |
Set |
getLabeledEnumSet(Class type)
Deprecated. Return a set of enumerations of a particular type. |
| Method Detail |
|---|
Set getLabeledEnumSet(Class type)
throws IllegalArgumentException
type - the enum type
IllegalArgumentException - if the type is not supported
Map getLabeledEnumMap(Class type)
throws IllegalArgumentException
LabeledEnum instance.
type - the enum type
LabeledEnum instance as value
IllegalArgumentException - if the type is not supported
LabeledEnum getLabeledEnumByCode(Class type,
Comparable code)
throws IllegalArgumentException
LabeledEnum by its identifying code.
type - the enum typecode - the enum code
IllegalArgumentException - if the code did not map to a valid instance
LabeledEnum getLabeledEnumByLabel(Class type,
String label)
throws IllegalArgumentException
LabeledEnum by its identifying code.
type - the enum typelabel - the enum label
IllegalArgumentException - if the label did not map to a valid instance
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||