Package | Description |
---|---|
org.xins.common.types |
XINS type classes.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,EnumItem> |
EnumType._namesToItems
Map that links symbolic names to enumeration item objects.
|
protected Map<String,EnumItem> |
EnumType._valuesToItems
Map that links enumeration values to enumeration item objects.
|
Modifier and Type | Method and Description |
---|---|
List<EnumItem> |
EnumType.getEnumItems()
Get the list of the EnumItem included in this
EnumType . |
Modifier and Type | Method and Description |
---|---|
String |
EnumType.toString(EnumItem value)
Converts the specified
EnumItem to a string. |
Constructor and Description |
---|
EnumType(String name,
EnumItem[] items)
Creates a new
EnumType instance. |
See http://www.xins.org/.