|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataModelEnumDef
A definition of an enumeration type. This comprises of a set of
DataModelEnumValue objects that define the complete set of valid
values for this enumeration.
| Nested Class Summary | |
|---|---|
static class |
DataModelEnumDef.Simple
|
| Method Summary | |
|---|---|
String |
getName()
|
DataModelEnumValue |
getValueByName(String name)
Look-up based on symbolic enum value. |
DataModelEnumValue |
getValueByOrdinal(int i)
Look-up based on enum ordinal value. |
Collection<? extends DataModelEnumValue> |
getValues()
|
Collection<String> |
getValuesStrings()
|
boolean |
isValueName(String name)
Return true if provided name is one of contained symbolic enum values. |
| Method Detail |
|---|
@NotNull String getName()
@NotNull Collection<? extends DataModelEnumValue> getValues()
@NotNull Collection<String> getValuesStrings()
@NotNull DataModelEnumValue getValueByName(String name)
@NotNull DataModelEnumValue getValueByOrdinal(int i)
boolean isValueName(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||