|
Spring Framework | ||||||||
| 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(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. |
| Method Detail |
|---|
java.util.Set getLabeledEnumSet(java.lang.Class type)
throws java.lang.IllegalArgumentException
type - the enum type
java.lang.IllegalArgumentException - if the type is not supported
java.util.Map getLabeledEnumMap(java.lang.Class type)
throws java.lang.IllegalArgumentException
LabeledEnum instance.
type - the enum type
LabeledEnum instance as value
java.lang.IllegalArgumentException - if the type is not supported
LabeledEnum getLabeledEnumByCode(java.lang.Class type,
java.lang.Comparable code)
throws java.lang.IllegalArgumentException
LabeledEnum by its identifying code.
type - the enum typecode - the enum code
java.lang.IllegalArgumentException - if the code did not map to a valid instance
LabeledEnum getLabeledEnumByLabel(java.lang.Class type,
java.lang.String label)
throws java.lang.IllegalArgumentException
LabeledEnum by its identifying code.
type - the enum typelabel - the enum label
java.lang.IllegalArgumentException - if the label did not map to a valid instance
|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||