@Deprecated public interface LabeledEnumResolver
LabeledEnum instances.| Modifier and Type | Method and Description |
|---|---|
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.
|
Set getLabeledEnumSet(Class type) throws IllegalArgumentException
type - the enum typeIllegalArgumentException - if the type is not supportedMap getLabeledEnumMap(Class type) throws IllegalArgumentException
LabeledEnum instance.type - the enum typeLabeledEnum instance as valueIllegalArgumentException - if the type is not supportedLabeledEnum getLabeledEnumByCode(Class type, Comparable code) throws IllegalArgumentException
LabeledEnum by its identifying code.type - the enum typecode - the enum codeIllegalArgumentException - if the code did not map to a valid instanceLabeledEnum getLabeledEnumByLabel(Class type, String label) throws IllegalArgumentException
LabeledEnum by its identifying code.type - the enum typelabel - the enum labelIllegalArgumentException - if the label did not map to a valid instance