org.omg.CORBA
public interface DynEnum extends DynAny
Deprecated: by {@link org.omg.DynamicAny.DynEnum}
Represents the dynamic enumeration, allowing to get/set the value by name or by position in the enumeration list. The CORBA enumeration can obtain one of the named values from the specified enumeration list.Method Summary | |
---|---|
String | value_as_string()
Get the value of this object. |
void | value_as_string(String member)
Set the value of this object.
|
void | value_as_ulong(int member)
Set the value of this object as the position inside the list of this
enumeration.
|
int | value_as_ulong()
Get the value of this object as the position inside the list of this
enumeration.
|
Returns: the currently set value, one of the allowed values for this enumeration.
Parameters: member the value to set, must be one of the allowed values for this enumeration. Otherwise the {@link SystemException} may be thrown.
Parameters: member the position of the enumeration value inside the enumeration list. Otherwise the {@link SystemException} may be thrown.
Returns: member the position of the currently set enumeration value inside the enumeration list.