| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omg.CORBA.NameValuePair
public final class NameValuePair
Associates a name with a value that is an attribute of an IDL struct, and is used in the DynStruct APIs.
| Field Summary | |
|---|---|
|  String | idThe name to be associated with a value by this NameValuePairobject. | 
|  Any | valueThe value to be associated with a name by this NameValuePairobject. | 
| Constructor Summary | |
|---|---|
| NameValuePair()Constructs an empty NameValuePairobject. | |
| NameValuePair(String __id,
              Any __value)Constructs a NameValuePairobject that associates
 the given name with the givenorg.omg.CORBA.Anyobject. | |
| Method Summary | 
|---|
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public String id
NameValuePair object.
public Any value
NameValuePair object.
| Constructor Detail | 
|---|
public NameValuePair()
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,
                     Any __value)
NameValuePair object that associates
 the given name with the given org.omg.CORBA.Any object.
__id - the name to be associated with the given Any object__value - the Any object to be associated with the given name| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.