@Deprecated
public interface LabeledEnumResolver
LabeledEnum instances.| Modifier and Type | Method and Description |
|---|---|
LabeledEnum |
getLabeledEnumByCode(java.lang.Class type,
java.lang.Comparable code)
Deprecated.
Resolve a single
LabeledEnum by its identifying code. |
LabeledEnum |
getLabeledEnumByLabel(java.lang.Class type,
java.lang.String label)
Deprecated.
Resolve a single
LabeledEnum by its identifying code. |
java.util.Map |
getLabeledEnumMap(java.lang.Class type)
Deprecated.
Return a map of enumerations of a particular type.
|
java.util.Set |
getLabeledEnumSet(java.lang.Class type)
Deprecated.
Return a set of enumerations of a particular type.
|
java.util.Set getLabeledEnumSet(java.lang.Class type)
throws java.lang.IllegalArgumentException
type - the enum typejava.lang.IllegalArgumentException - if the type is not supportedjava.util.Map getLabeledEnumMap(java.lang.Class type)
throws java.lang.IllegalArgumentException
LabeledEnum instance.type - the enum typeLabeledEnum instance as valuejava.lang.IllegalArgumentException - if the type is not supportedLabeledEnum getLabeledEnumByCode(java.lang.Class type, java.lang.Comparable code) throws java.lang.IllegalArgumentException
LabeledEnum by its identifying code.type - the enum typecode - the enum codejava.lang.IllegalArgumentException - if the code did not map to a valid instanceLabeledEnum getLabeledEnumByLabel(java.lang.Class type, java.lang.String label) throws java.lang.IllegalArgumentException
LabeledEnum by its identifying code.type - the enum typelabel - the enum labeljava.lang.IllegalArgumentException - if the label did not map to a valid instance