org.omg.CosPropertyService
Class _PropertiesIteratorStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.CosPropertyService._PropertiesIteratorStub
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, PropertiesIterator, PropertiesIteratorOperations

public class _PropertiesIteratorStub
extends org.omg.CORBA.portable.ObjectImpl
implements PropertiesIterator

A PropertySet maintains a set of name-value pairs. The get_all_properties operation of the PropertySet interface returns a sequence of Property structures (Properties). If there are additional properties, the get_all_properties operation returns an object supporting the PropertiesIterator interface with the additional properties.

The PropertiesIterator interface allows a client to iterate through the name-value pairs using the next_one or next_n operations.

See Also:
Serialized Form

Constructor Summary
_PropertiesIteratorStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 void destroy()
          Operation destroy
 boolean next_n(int how_many, PropertiesHolder nproperties)
          Operation next_n
 boolean next_one(PropertyHolder aproperty)
          Operation next_one
 void reset()
          Operation reset
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

_PropertiesIteratorStub

public _PropertiesIteratorStub()
Method Detail

_ids

public java.lang.String[] _ids()
Specified by:
_ids in class org.omg.CORBA.portable.ObjectImpl

reset

public void reset()
Operation reset

Specified by:
reset in interface PropertiesIteratorOperations

next_one

public boolean next_one(PropertyHolder aproperty)
Operation next_one

Specified by:
next_one in interface PropertiesIteratorOperations
Parameters:
aproperty - the retrieved property is returned in the output parameter.
Returns:
true if a property name was retrieved.

next_n

public boolean next_n(int how_many,
                      PropertiesHolder nproperties)
Operation next_n

Specified by:
next_n in interface PropertiesIteratorOperations
Parameters:
how_many - the number of properties to retrieve.
nproperties - the sequence of retrieved properties is returned in the output parameter.
Returns:
true if at least one property was retrieved.

destroy

public void destroy()
Operation destroy

Specified by:
destroy in interface PropertiesIteratorOperations