26 |
26 |
27 package org.omg.CORBA; |
27 package org.omg.CORBA; |
28 |
28 |
29 /** |
29 /** |
30 * Associates a name with a value that is an |
30 * Associates a name with a value that is an |
31 * attribute of an IDL struct, and is used in the <tt>DynStruct</tt> APIs. |
31 * attribute of an IDL struct, and is used in the {@code DynStruct} APIs. |
32 */ |
32 */ |
33 |
33 |
34 public final class NameValuePair implements org.omg.CORBA.portable.IDLEntity { |
34 public final class NameValuePair implements org.omg.CORBA.portable.IDLEntity { |
35 |
35 |
36 /** |
36 /** |
37 * The name to be associated with a value by this <code>NameValuePair</code> object. |
37 * The name to be associated with a value by this {@code NameValuePair} object. |
38 */ |
38 */ |
39 public String id; |
39 public String id; |
40 |
40 |
41 /** |
41 /** |
42 * The value to be associated with a name by this <code>NameValuePair</code> object. |
42 * The value to be associated with a name by this {@code NameValuePair} object. |
43 */ |
43 */ |
44 public org.omg.CORBA.Any value; |
44 public org.omg.CORBA.Any value; |
45 |
45 |
46 /** |
46 /** |
47 * Constructs an empty <code>NameValuePair</code> object. |
47 * Constructs an empty {@code NameValuePair} object. |
48 * To associate a name with a value after using this constructor, the fields |
48 * To associate a name with a value after using this constructor, the fields |
49 * of this object have to be accessed individually. |
49 * of this object have to be accessed individually. |
50 */ |
50 */ |
51 public NameValuePair() { } |
51 public NameValuePair() { } |
52 |
52 |
53 /** |
53 /** |
54 * Constructs a <code>NameValuePair</code> object that associates |
54 * Constructs a {@code NameValuePair} object that associates |
55 * the given name with the given <code>org.omg.CORBA.Any</code> object. |
55 * the given name with the given {@code org.omg.CORBA.Any} object. |
56 * @param __id the name to be associated with the given <code>Any</code> object |
56 * @param __id the name to be associated with the given {@code Any} object |
57 * @param __value the <code>Any</code> object to be associated with the given name |
57 * @param __value the {@code Any} object to be associated with the given name |
58 */ |
58 */ |
59 public NameValuePair(String __id, org.omg.CORBA.Any __value) { |
59 public NameValuePair(String __id, org.omg.CORBA.Any __value) { |
60 id = __id; |
60 id = __id; |
61 value = __value; |
61 value = __value; |
62 } |
62 } |