Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

org.omg.CORBA
Class NameValuePair

java.lang.Object
  extended by org.omg.CORBA.NameValuePair
All Implemented Interfaces:
Serializable, IDLEntity

public final class NameValuePair
extends Object
implements IDLEntity

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


Field Summary
Modifier and Type Field and Description
 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
Constructor and Description
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.
 
Method Summary
Modifier and Type Method and Description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

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

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.