org.openorb.property
Class PropertiesIteratorImpl

java.lang.Object
  |
  +--org.omg.PortableServer.Servant
        |
        +--org.omg.CosPropertyService.PropertiesIteratorPOA
              |
              +--org.openorb.property.PropertiesIteratorImpl
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, PropertiesIteratorOperations

public class PropertiesIteratorImpl
extends PropertiesIteratorPOA

This class provides an property iterator.

Author:
Jerome Daniel

Constructor Summary
PropertiesIteratorImpl(java.util.Vector tab)
           
 
Method Summary
 void destroy()
          The destroy operation destroys the iterator.
 boolean next_n(int how_many, PropertiesHolder nproperties)
          The next_n operation returns true if an item exists at the current position in the iterator and the how_many parameter was set greater than zero.
 boolean next_one(PropertyHolder aproperty)
          The next_one operation returns true if an item exists at the current position in the iterator with an output parameter of a property.
 void reset()
          The reset operation resets the position in an iterator to the first property, if one exists.
 
Methods inherited from class org.omg.CosPropertyService.PropertiesIteratorPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesIteratorImpl

public PropertiesIteratorImpl(java.util.Vector tab)
Method Detail

reset

public void reset()
The reset operation resets the position in an iterator to the first property, if one exists.

next_one

public boolean next_one(PropertyHolder aproperty)
The next_one operation returns true if an item exists at the current position in the iterator with an output parameter of a property. A return of false signifies no more items in the iterator.

next_n

public boolean next_n(int how_many,
                      PropertiesHolder nproperties)
The next_n operation returns true if an item exists at the current position in the iterator and the how_many parameter was set greater than zero. The output is a properties sequence with at most the how_many number of properties. A return of false signifies no more items in the iterator.

destroy

public void destroy()
The destroy operation destroys the iterator.