org.omg.CORBA
Class NameValuePair

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.CORBA.NameValuePair
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity

public final class NameValuePair
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity

Associates a name with a value that is an attribute of an IDL struct, and is used in the DynStruct APIs.

See Also:
Serialized Form

Field Summary
 String sample code for java.lang.String definition code for java.lang.String id sample code for org.omg.CORBA.NameValuePair.id definition code for org.omg.CORBA.NameValuePair.id
          The name to be associated with a value by this NameValuePair object.
 Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any value sample code for org.omg.CORBA.NameValuePair.value definition code for org.omg.CORBA.NameValuePair.value
          The value to be associated with a name by this NameValuePair object.
 
Constructor Summary
NameValuePair sample code for org.omg.CORBA.NameValuePair.NameValuePair() definition code for org.omg.CORBA.NameValuePair.NameValuePair() ()
          Constructs an empty NameValuePair object.
NameValuePair sample code for org.omg.CORBA.NameValuePair.NameValuePair(java.lang.String, org.omg.CORBA.Any) definition code for org.omg.CORBA.NameValuePair.NameValuePair(java.lang.String, org.omg.CORBA.Any) (String sample code for java.lang.String definition code for java.lang.String  __id, Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  __value)
          Constructs a NameValuePair object that associates the given name with the given org.omg.CORBA.Any object.
 
Method Summary
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

id sample code for org.omg.CORBA.NameValuePair.id

public String sample code for java.lang.String definition code for java.lang.String  id
The name to be associated with a value by this NameValuePair object.


value sample code for org.omg.CORBA.NameValuePair.value

public Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  value
The value to be associated with a name by this NameValuePair object.

Constructor Detail

NameValuePair sample code for org.omg.CORBA.NameValuePair() definition code for org.omg.CORBA.NameValuePair()

public NameValuePair()
Constructs an empty NameValuePair object. To associate a name with a value after using this constructor, the fields of this object have to be accessed individually.


NameValuePair sample code for org.omg.CORBA.NameValuePair(java.lang.String, org.omg.CORBA.Any) definition code for org.omg.CORBA.NameValuePair(java.lang.String, org.omg.CORBA.Any)

public NameValuePair(String sample code for java.lang.String definition code for java.lang.String  __id,
                     Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  __value)
Constructs a NameValuePair object that associates the given name with the given org.omg.CORBA.Any object.

Parameters:
__id - the name to be associated with the given Any object
__value - the Any object to be associated with the given name