org.omg.CORBA
public interface DynUnion extends DynAny
Deprecated: by {@link org.omg.DynamicAny.DynUnion}
Represents the {@link DynAny}, holding the CORBA structure (variant record with the named fields). The internal reference, described in {@link DynAny#current_component()}, iterates over the fields of the member, stored in the union. The union always holds only one member; which one, depends from the value of the discriminator.Method Summary | |
---|---|
DynAny | discriminator()
Returns the discriminator, defining, which set of fields is stored. |
TCKind | discriminator_kind()
Returns the discriminator kind. |
DynAny | member()
Returns the member, stored in this union. |
TCKind | member_kind()
Returns the kind of the member, stored in this union. |
String | member_name()
Returns the name of the currently focused member. |
void | member_name(String new_name)
Renames the currently focused member.
|
boolean | set_as_default()
Checks if the discriminator of this union has been assigned a valid
default value. |
void | set_as_default(boolean assign_default)
Determines if the discriminator of this union gets assigned a valid
default value. |
Returns: the discriminator.
Parameters: new_name the new name of the currently focused member.
Parameters: assign_default