70 * </PRE>
71 * The variable <code>nv</code> represents a newly-created
72 * <code>NVList</code> object that contains descriptions of the
73 * arguments to the method described in the given
74 * <code>OperationDef</code> object.
75 * </OL>
76 * <P>
77 * The methods in the class <code>NVList</code> all deal with
78 * the <code>NamedValue</code> objects in the list.
79 * There are three methods for adding a <code>NamedValue</code> object,
80 * a method for getting the count of <code>NamedValue</code> objects in
81 * the list, a method for retrieving a <code>NamedValue</code> object
82 * at a given index, and a method for removing a <code>NamedValue</code> object
83 * at a given index.
84 *
85 * @see org.omg.CORBA.Request
86 * @see org.omg.CORBA.ServerRequest
87 * @see org.omg.CORBA.NamedValue
88 * @see org.omg.CORBA.Context
89 *
90 * @since JDK1.2
91 */
92
93 public abstract class NVList {
94
95 /**
96 * Returns the number of <code>NamedValue</code> objects that have
97 * been added to this <code>NVList</code> object.
98 *
99 * @return an <code>int</code> indicating the number of
100 * <code>NamedValue</code> objects in this <code>NVList</code>.
101 */
102
103 public abstract int count();
104
105 /**
106 * Creates a new <code>NamedValue</code> object initialized with the given flag
107 * and adds it to the end of this <code>NVList</code> object.
108 * The flag can be any one of the argument passing modes:
109 * <code>ARG_IN.value</code>, <code>ARG_OUT.value</code>, or
110 * <code>ARG_INOUT.value</code>.
|
70 * </PRE>
71 * The variable <code>nv</code> represents a newly-created
72 * <code>NVList</code> object that contains descriptions of the
73 * arguments to the method described in the given
74 * <code>OperationDef</code> object.
75 * </OL>
76 * <P>
77 * The methods in the class <code>NVList</code> all deal with
78 * the <code>NamedValue</code> objects in the list.
79 * There are three methods for adding a <code>NamedValue</code> object,
80 * a method for getting the count of <code>NamedValue</code> objects in
81 * the list, a method for retrieving a <code>NamedValue</code> object
82 * at a given index, and a method for removing a <code>NamedValue</code> object
83 * at a given index.
84 *
85 * @see org.omg.CORBA.Request
86 * @see org.omg.CORBA.ServerRequest
87 * @see org.omg.CORBA.NamedValue
88 * @see org.omg.CORBA.Context
89 *
90 * @since 1.2
91 */
92
93 public abstract class NVList {
94
95 /**
96 * Returns the number of <code>NamedValue</code> objects that have
97 * been added to this <code>NVList</code> object.
98 *
99 * @return an <code>int</code> indicating the number of
100 * <code>NamedValue</code> objects in this <code>NVList</code>.
101 */
102
103 public abstract int count();
104
105 /**
106 * Creates a new <code>NamedValue</code> object initialized with the given flag
107 * and adds it to the end of this <code>NVList</code> object.
108 * The flag can be any one of the argument passing modes:
109 * <code>ARG_IN.value</code>, <code>ARG_OUT.value</code>, or
110 * <code>ARG_INOUT.value</code>.
|