NamedValue
implements the IDL pseudo object type NamedValue
which is used only as an element of an NVList
, chiefly in the DII. A NamedValue
describes an argument to a Request
: it contains an optional name, an any
value and labelling flags.
// Pseudo IDL pseudo interface NamedValue { readonly attribute Identifier name; readonly attribute any value; readonly attribute Flags flags; };
// Java package IE.Iona.Orbix.CORBA; public class NamedValue implements Marshalable, IDLCloneable { // Constructors public NamedValue(); public NamedValue(String name, Any value, Flags arg_modes); public NamedValue(NamedValue nv); // Methods public java.lang.Object clone(); public boolean equals(java.lang.Object _obj); public String toString(); // Object Methods public static NamedValue IT_create(); public static NamedValue IT_create(String name, Any value, Flags arg_modes); public static NamedValue IT_create(NamedValue nv); public static NamedValue _nil(); // Data Accessor Methods public String name(); public Any value(); public Flags flags(); }
CORBA.NVList
CORBA.Request
CORBA.Flags
public NamedValue();
CORBA.NVList.add()
, CORBA.NVList.add_item()
and CORBA.NVList.add_value()
for CORBA defined ways to create a NamedValue
.
OtherCORBA.NVList.add()
CORBA.NVList.add_item()
CORBA.NVList.add_value()
CORBA.NamedValue.IT_create()
NamedValue
constructors.
public NamedValue(NamedValue nv);
OtherCORBA.NVList.add()
CORBA.NVList.add_item()
CORBA.NVList.add_value()
CORBA.NamedValue.IT_create()
NamedValue
constructors.
public NamedValue(String name, Any value, Flags arg_modes);
NamedValue
member data with specified values. See CORBA.NVList.add()
, CORBA.NVList.add_item()
and CORBA.NVList.add_value()
for CORBA defined ways to create a NamedValue
.
OtherCORBA.NVList.add()
CORBA.NVList.add_item()
CORBA.NVList.add_value()
CORBA.NamedValue.IT_create()
NamedValue
constructors.
public java.lang.Object clone();
NamedValue
to a new NamedValue
object and returns the new object.
public boolean equals(java.lang.Object _obj);
NamedValue
to parameter _obj
. If _obj
is not a NamedValue
object or the name
, flags
, and value
members of _obj
are not equal to those of the current object, then this method returns false
; otherwise, it returns true
.
public Flags flags();
CORBA.Flags
object associated with the NamedValue
.
CORBA
.Flags
public static NamedValue IT_create(); public static NamedValue IT_create(NamedValue nv); public static NamedValue IT_create(String name, Any value, Flags arg_modes);
IT_create()
methods for the instantiation of class NamedValue
. See the corresponding constructors for details of the parameters to
IT_create()
.
CORBA.NVList.add()
, CORBA.NVList.add_item()
and CORBA.NVList.add_value()
for CORBA defined ways to create a NamedValue
.
CORBA.NVList.add()
CORBA.NVList.add_item()
CORBA.NVList.add_value()
public String name();
NamedValue
. This is the name of a parameter or argument to a request.
public static NamedValue _nil();
NamedValue
.
CORBA.is_nil()
public String toString();
NamedValue
object to a human readable string of the form:
<name>, <value>
public Any value();
CORBA.Any
object contained in the NamedValue
.
CORBA.Any