public interface EnumerationDefinitionOperations
Modifier and Type | Method and Description |
---|---|
void |
addItem(java.lang.String itemName)
(28003)
Append a new item to the enumeration.
|
int |
getIndex()
(28007)
Get the index of the enumeration definition.
|
int |
getItem(java.lang.String itemName)
(28001)
Get the value of an item.
|
java.lang.String |
getItemName(int item)
(28002)
Get the name of an item.
|
java.lang.String |
getName()
(28005)
Get the name of the enumeration.
|
java.lang.String[] |
listItemNames()
(28000)
List the possible names of the enumeration.
|
void |
renameItem(java.lang.String oldItemName,
java.lang.String newItemName)
(28004)
Rename the item of the enumeration.
|
void |
setName(java.lang.String enumName)
(28006)
Set the name of the enumeration.
|
java.lang.String[] listItemNames() throws AoException
AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEint getItem(java.lang.String itemName) throws AoException
itemName
- The name of the item.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_NOT_FOUNDjava.lang.String getItemName(int item) throws AoException
item
- The value of the item.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_NOT_FOUNDvoid addItem(java.lang.String itemName) throws AoException
itemName
- The name of the new item.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVE
AO_ACCESS_DENIED
AO_DUPLICATE_NAME
AO_DUPLICATE_VALUEvoid renameItem(java.lang.String oldItemName, java.lang.String newItemName) throws AoException
oldItemName
- The existing name of the item.newItemName
- the new name of the item.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVE
AO_NOT_FOUNDjava.lang.String getName() throws AoException
AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEvoid setName(java.lang.String enumName) throws AoException
enumName
- Name of the enumeration.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVE
AO_ACCESS_DENIEDint getIndex() throws AoException
AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE