org.omg.CosCollection
Class SortedCollectionPOATie

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended byorg.omg.CosCollection.SortedCollectionPOA
          extended byorg.omg.CosCollection.SortedCollectionPOATie
All Implemented Interfaces:
CollectionOperations, InvokeHandler, OrderedCollectionOperations, SortedCollectionOperations

public class SortedCollectionPOATie
extends SortedCollectionPOA

Generated from IDL interface "SortedCollection"

Author:
JacORB IDL compiler V 2.1 (JBoss patch 1), 01-Mar-2004

Constructor Summary
SortedCollectionPOATie(SortedCollectionOperations delegate)
           
SortedCollectionPOATie(SortedCollectionOperations delegate, POA poa)
           
 
Method Summary
 POA _default_POA()
           
 SortedCollectionOperations _delegate()
           
 void _delegate(SortedCollectionOperations delegate)
           
 SortedCollection _this()
           
 SortedCollection _this(ORB orb)
           
 void add_all_from(Collection collector)
           
 boolean add_element_set_iterator(Any element, Iterator where)
           
 boolean add_element(Any element)
           
 boolean all_elements_do(Command what)
           
 Iterator create_iterator(boolean read_only)
           
 OrderedIterator create_ordered_iterator(boolean read_only, boolean reverse_iteration)
           
 void destroy()
           
 TypeCode element_type()
           
 boolean is_empty()
           
 int number_of_elements()
           
 int remove_all()
           
 void remove_element_at_position(int position)
           
 void remove_element_at(Iterator where)
           
 void remove_first_element()
           
 void remove_last_element()
           
 void replace_element_at(Iterator where, Any element)
           
 boolean retrieve_element_at_position(int position, AnyHolder element)
           
 boolean retrieve_element_at(Iterator where, AnyHolder element)
           
 boolean retrieve_first_element(AnyHolder element)
           
 boolean retrieve_last_element(AnyHolder element)
           
 
Methods inherited from class org.omg.CosCollection.SortedCollectionPOA
_all_interfaces, _invoke
 
Methods inherited from class org.omg.PortableServer.Servant
_get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortedCollectionPOATie

public SortedCollectionPOATie(SortedCollectionOperations delegate)

SortedCollectionPOATie

public SortedCollectionPOATie(SortedCollectionOperations delegate,
                              POA poa)
Method Detail

_this

public SortedCollection _this()
Overrides:
_this in class SortedCollectionPOA

_this

public SortedCollection _this(ORB orb)
Overrides:
_this in class SortedCollectionPOA

_delegate

public SortedCollectionOperations _delegate()

_delegate

public void _delegate(SortedCollectionOperations delegate)

_default_POA

public POA _default_POA()
Overrides:
_default_POA in class Servant

number_of_elements

public int number_of_elements()

retrieve_element_at

public boolean retrieve_element_at(Iterator where,
                                   AnyHolder element)
                            throws IteratorInvalid,
                                   IteratorInBetween
Throws:
IteratorInvalid
IteratorInBetween

retrieve_element_at_position

public boolean retrieve_element_at_position(int position,
                                            AnyHolder element)
                                     throws PositionInvalid
Throws:
PositionInvalid

element_type

public TypeCode element_type()

create_ordered_iterator

public OrderedIterator create_ordered_iterator(boolean read_only,
                                               boolean reverse_iteration)

remove_element_at

public void remove_element_at(Iterator where)
                       throws IteratorInvalid,
                              IteratorInBetween
Throws:
IteratorInvalid
IteratorInBetween

add_element

public boolean add_element(Any element)
                    throws ElementInvalid
Throws:
ElementInvalid

is_empty

public boolean is_empty()

create_iterator

public Iterator create_iterator(boolean read_only)

retrieve_first_element

public boolean retrieve_first_element(AnyHolder element)
                               throws EmptyCollection
Throws:
EmptyCollection

remove_last_element

public void remove_last_element()
                         throws EmptyCollection
Throws:
EmptyCollection

add_element_set_iterator

public boolean add_element_set_iterator(Any element,
                                        Iterator where)
                                 throws ElementInvalid,
                                        IteratorInvalid
Throws:
ElementInvalid
IteratorInvalid

remove_first_element

public void remove_first_element()
                          throws EmptyCollection
Throws:
EmptyCollection

remove_all

public int remove_all()

destroy

public void destroy()

retrieve_last_element

public boolean retrieve_last_element(AnyHolder element)
                              throws EmptyCollection
Throws:
EmptyCollection

remove_element_at_position

public void remove_element_at_position(int position)
                                throws PositionInvalid
Throws:
PositionInvalid

add_all_from

public void add_all_from(Collection collector)
                  throws ElementInvalid
Throws:
ElementInvalid

replace_element_at

public void replace_element_at(Iterator where,
                               Any element)
                        throws ElementInvalid,
                               IteratorInvalid,
                               IteratorInBetween
Throws:
ElementInvalid
IteratorInvalid
IteratorInBetween

all_elements_do

public boolean all_elements_do(Command what)