org.openorb.CORBA.dii
Class NVList

java.lang.Object
  extended byorg.omg.CORBA.NVList
      extended byorg.openorb.CORBA.dii.NVList

public class NVList
extends NVList

This class is the implementation of the NVList OMG class. It manages a list of NamedValue.

Version:
$Revision: 1.1 $ $Date: 2000/12/28 22:52:34 $
Author:
Jerome Daniel <daniel@intalio.com>
See Also:
NamedValue

Constructor Summary
NVList(ORB orb)
          Constructor
 
Method Summary
 NamedValue add_item(java.lang.String item_name, int flags)
          Add a named value into the list by supplying a flag and a name.
 NamedValue add_value(java.lang.String item_name, Any val, int flags)
          Add a named value into the list by supplying a flag, a name and a value.
 NamedValue add(int flags)
          Add a named value into the list by supplying a flag.
 void add(NamedValue nv)
          Add a named value into the list
 int count()
          Return the nv list size
 void insert(java.lang.String item_name, Any val, int flags, int index)
          Insert a NamedValue to a specified index
 NamedValue item(int index)
          Return a nv list item
 void remove(int index)
          Remove an item from the nv list
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NVList

public NVList(ORB orb)
Constructor

Method Detail

count

public int count()
Return the nv list size

Specified by:
count in class NVList

add

public NamedValue add(int flags)
Add a named value into the list by supplying a flag.

Specified by:
add in class NVList

add_item

public NamedValue add_item(java.lang.String item_name,
                           int flags)
Add a named value into the list by supplying a flag and a name.

Specified by:
add_item in class NVList

add_value

public NamedValue add_value(java.lang.String item_name,
                            Any val,
                            int flags)
Add a named value into the list by supplying a flag, a name and a value.

Specified by:
add_value in class NVList

add

public void add(NamedValue nv)
Add a named value into the list


item

public NamedValue item(int index)
                throws Bounds
Return a nv list item

Specified by:
item in class NVList
Throws:
Bounds

remove

public void remove(int index)
            throws Bounds
Remove an item from the nv list

Specified by:
remove in class NVList
Throws:
Bounds

insert

public void insert(java.lang.String item_name,
                   Any val,
                   int flags,
                   int index)
            throws Bounds
Insert a NamedValue to a specified index

Throws:
Bounds