FileDocCategorySizeDatePackage
NameValuePair.javaAPI DocJava SE 5 API1370Fri Aug 26 14:58:30 BST 2005org.omg.CORBA

NameValuePair

public final class NameValuePair extends Object implements 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.

Fields Summary
public String
id
The name to be associated with a value by this NameValuePair object.
public org.omg.CORBA.Any
value
The value to be associated with a name by this NameValuePair object.
Constructors Summary
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.

 
public NameValuePair(String __id, org.omg.CORBA.Any __value)
Constructs a NameValuePair object that associates the given name with the given org.omg.CORBA.Any object.

param
__id the name to be associated with the given Any object
param
__value the Any object to be associated with the given name

	id = __id;
	value = __value;
    
Methods Summary