org.omg.CORBA
Class NameValuePair
java.lang.Object
|
+--org.omg.CORBA.NameValuePair
- All Implemented Interfaces:
- IDLEntity, Serializable
- public final class NameValuePair
- extends Object
- implements IDLEntity
The NameValuePair interface associates a name with a value that is an
attribute of an IDL struct. This interface is used in the DynStruct APIs.
- See Also:
- Serialized Form
|
Field Summary |
String |
id
The name to be associated with a value by this NameValuePair object. |
Any |
value
The value to be associated with a name by this NameValuePair object. |
|
Constructor Summary |
NameValuePair()
Constructs an empty NameValuePair object. |
NameValuePair(String __id,
Any __value)
Constructs a NameValuePair object that associates
the given name with the given org.omg.CORBA.Any object. |
id
public String id
- The name to be associated with a value by this
NameValuePair object.
value
public Any value
- The value to be associated with a name by this
NameValuePair object.
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
public NameValuePair(String __id,
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
jBroker is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.