public final class NameValuePair extends java.lang.Object implements java.io.Serializable, org.omg.CORBA.portable.IDLEntity
DynStruct to name the fields of the record (structure).| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
id
The name of the structure record.
|
org.omg.CORBA.Any |
value
The value of the structure record.
|
| Constructor and Description |
|---|
NameValuePair()
Cretes an unitialised instance of the name-value pair.
|
NameValuePair(java.lang.String aName,
org.omg.CORBA.Any aValue)
Creates the name-value pair, initialising the fields to the passed values.
|
public org.omg.CORBA.Any value
public java.lang.String id
public NameValuePair()
public NameValuePair(java.lang.String aName, org.omg.CORBA.Any aValue)
aName - the name (also called id) of the name-value pair, normally the
name of the structure field.aValue - the value of the name-value pair.