org.omg.CORBA

Interface DynValue

public interface DynValue extends DynAny, Object

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

Represents the {@link DynAny}, holding a value type. A value type is something between CORBA structure and CORBA object. Like CORBA object, it can have methods, supporting some IDL-defined interface. However, like structures, they are always local and passed by value, not by IOR reference. The value types can have both public and private members. They support inheritance. Value types can also be abstract.
Method Summary
TCKindcurrent_member_kind()
Get the kind of the member, pointed by the internal pointer.
Stringcurrent_member_name()
Get the name of the member, pointed by the internal pointer.
NameValuePair[]get_members()
Get all members of the enclosed value type object.
voidset_members(NameValuePair[] value)
Set all members for the enclosed value type object.

Method Detail

current_member_kind

public TCKind current_member_kind()
Get the kind of the member, pointed by the internal pointer.

Returns: the kind of the member.

current_member_name

public String current_member_name()
Get the name of the member, pointed by the internal pointer.

Returns: the name of the member.

get_members

public NameValuePair[] get_members()
Get all members of the enclosed value type object.

Returns: members, as an array of the name - value pairs.

set_members

public void set_members(NameValuePair[] value)
Set all members for the enclosed value type object.

Parameters: value an array of members to set.

Throws: InvalidSeq if the passed sequence is not valid.