public class _EnumerationDefinitionStub extends org.omg.CORBA.portable.ObjectImpl implements EnumerationDefinition
| Constructor and Description |
|---|
_EnumerationDefinitionStub() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
_ids() |
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.
|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toStringpublic java.lang.String[] listItemNames()
throws AoException
listItemNames in interface EnumerationDefinitionOperationsAoException - with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic int getItem(java.lang.String itemName)
throws AoException
getItem in interface EnumerationDefinitionOperationsitemName - 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_FOUNDpublic java.lang.String getItemName(int item)
throws AoException
getItemName in interface EnumerationDefinitionOperationsitem - 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_FOUNDpublic void addItem(java.lang.String itemName)
throws AoException
addItem in interface EnumerationDefinitionOperationsitemName - 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_VALUEpublic void renameItem(java.lang.String oldItemName,
java.lang.String newItemName)
throws AoException
renameItem in interface EnumerationDefinitionOperationsoldItemName - 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_FOUNDpublic java.lang.String getName()
throws AoException
getName in interface EnumerationDefinitionOperationsAoException - with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setName(java.lang.String enumName)
throws AoException
setName in interface EnumerationDefinitionOperationsenumName - 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_DENIEDpublic int getIndex()
throws AoException
getIndex in interface EnumerationDefinitionOperationsAoException - with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic java.lang.String[] _ids()
_ids in class org.omg.CORBA.portable.ObjectImpl