org.omg.CORBA

Interface DynStruct

public interface DynStruct extends DynAny

Deprecated: by {@link org.omg.DynamicAny.DynStruct}

Represents the {@link DynAny}, holding the CORBA structure (record with the named fields). The internal reference, described in {@link DynAny#current_component()}, iterates over the fields of the structure.
Method Summary
TCKindcurrent_member_kind()
Get the kind of the structure field that would be returned by {@link DynAny#current_component()}.
Stringcurrent_member_name()
Get the name of the structure field that would be returned by {@link DynAny#current_component()}.
NameValuePair[]get_members()
Get all fields of the structure in the array of the named values, holding name, repository id and value of the associated field.
voidset_members(NameValuePair[] members)
Set all fields of this structure by name.

Method Detail

current_member_kind

public TCKind current_member_kind()
Get the kind of the structure field that would be returned by {@link DynAny#current_component()}.

Returns: the kind of the structure field.

current_member_name

public String current_member_name()
Get the name of the structure field that would be returned by {@link DynAny#current_component()}.

Returns: the name of the structure field.

get_members

public NameValuePair[] get_members()
Get all fields of the structure in the array of the named values, holding name, repository id and value of the associated field.

Returns: members the array of the named values, representing the structure fields.

set_members

public void set_members(NameValuePair[] members)
Set all fields of this structure by name.

Parameters: members the array of the named values, representing the structure fields.

Throws: InvalidSeq if the passed argument is invalid.