org.omg.CosCollection
Class SequentialCollectionPOATie

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended byorg.omg.CosCollection.SequentialCollectionPOA
          extended byorg.omg.CosCollection.SequentialCollectionPOATie
All Implemented Interfaces:
CollectionOperations, InvokeHandler, OrderedCollectionOperations, SequentialCollectionOperations

public class SequentialCollectionPOATie
extends SequentialCollectionPOA

Generated from IDL interface "SequentialCollection"

Author:
JacORB IDL compiler V 2.2.3, 10-Dec-2005

Constructor Summary
SequentialCollectionPOATie(SequentialCollectionOperations delegate)
           
SequentialCollectionPOATie(SequentialCollectionOperations delegate, POA poa)
           
 
Method Summary
 POA _default_POA()
           
 SequentialCollectionOperations _delegate()
           
 void _delegate(SequentialCollectionOperations delegate)
           
 SequentialCollection _this()
           
 SequentialCollection _this(ORB orb)
           
 void add_all_from(Collection collector)
           
 void add_element_as_first_set_iterator(Any element, Iterator where)
           
 void add_element_as_first(Any element)
           
 void add_element_as_last_set_iterator(Any element, Iterator where)
           
 void add_element_as_last(Any element)
           
 void add_element_as_next(Any element, Iterator where)
           
 void add_element_as_previous(Any element, Iterator where)
           
 void add_element_at_position_set_iterator(int position, Any element, Iterator where)
           
 void add_element_at_position(int position, Any element)
           
 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_position(int position, Any element)
           
 void replace_element_at(Iterator where, Any element)
           
 void replace_first_element(Any element)
           
 void replace_last_element(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)
           
 void reverse()
           
 void sort(Comparator comparison)
           
 
Methods inherited from class org.omg.CosCollection.SequentialCollectionPOA
_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

SequentialCollectionPOATie

public SequentialCollectionPOATie(SequentialCollectionOperations delegate)

SequentialCollectionPOATie

public SequentialCollectionPOATie(SequentialCollectionOperations delegate,
                                  POA poa)
Method Detail

_this

public SequentialCollection _this()
Overrides:
_this in class SequentialCollectionPOA

_this

public SequentialCollection _this(ORB orb)
Overrides:
_this in class SequentialCollectionPOA

_delegate

public SequentialCollectionOperations _delegate()

_delegate

public void _delegate(SequentialCollectionOperations delegate)

_default_POA

public POA _default_POA()
Overrides:
_default_POA in class Servant

add_element_as_last

public void add_element_as_last(Any element)
                         throws ElementInvalid
Throws:
ElementInvalid

reverse

public void reverse()

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

add_element_as_first

public void add_element_as_first(Any element)
                          throws ElementInvalid
Throws:
ElementInvalid

add_element_at_position

public void add_element_at_position(int position,
                                    Any element)
                             throws PositionInvalid,
                                    ElementInvalid
Throws:
PositionInvalid
ElementInvalid

add_element_as_next

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

replace_element_at_position

public void replace_element_at_position(int position,
                                        Any element)
                                 throws PositionInvalid,
                                        ElementInvalid
Throws:
PositionInvalid
ElementInvalid

element_type

public TypeCode element_type()

replace_last_element

public void replace_last_element(Any element)
                          throws EmptyCollection,
                                 ElementInvalid
Throws:
EmptyCollection
ElementInvalid

create_ordered_iterator

public OrderedIterator create_ordered_iterator(boolean read_only,
                                               boolean reverse_iteration)

add_element

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

remove_element_at

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

sort

public void sort(Comparator comparison)

add_element_at_position_set_iterator

public void add_element_at_position_set_iterator(int position,
                                                 Any element,
                                                 Iterator where)
                                          throws PositionInvalid,
                                                 ElementInvalid,
                                                 IteratorInvalid
Throws:
PositionInvalid
ElementInvalid
IteratorInvalid

is_empty

public boolean is_empty()

retrieve_first_element

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

create_iterator

public Iterator create_iterator(boolean read_only)

replace_first_element

public void replace_first_element(Any element)
                           throws EmptyCollection,
                                  ElementInvalid
Throws:
EmptyCollection
ElementInvalid

add_element_as_last_set_iterator

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

add_element_set_iterator

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

remove_last_element

public void remove_last_element()
                         throws EmptyCollection
Throws:
EmptyCollection

add_element_as_first_set_iterator

public void add_element_as_first_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()

add_element_as_previous

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

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)