org.omg.CosCollection
Class CSequencePOATie

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended byorg.omg.CosCollection.CSequencePOA
          extended byorg.omg.CosCollection.CSequencePOATie
All Implemented Interfaces:
CollectionOperations, CSequenceOperations, InvokeHandler, OrderedCollectionOperations, SequentialCollectionOperations

public class CSequencePOATie
extends CSequencePOA

Generated from IDL interface "CSequence"

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

Constructor Summary
CSequencePOATie(CSequenceOperations delegate)
           
CSequencePOATie(CSequenceOperations delegate, POA poa)
           
 
Method Summary
 POA _default_POA()
           
 CSequenceOperations _delegate()
           
 void _delegate(CSequenceOperations delegate)
           
 CSequence _this()
           
 CSequence _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)
           
 int compare(CSequence collector, Comparator comparison)
           
 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.CSequencePOA
_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

CSequencePOATie

public CSequencePOATie(CSequenceOperations delegate)

CSequencePOATie

public CSequencePOATie(CSequenceOperations delegate,
                       POA poa)
Method Detail

_this

public CSequence _this()
Overrides:
_this in class CSequencePOA

_this

public CSequence _this(ORB orb)
Overrides:
_this in class CSequencePOA

_delegate

public CSequenceOperations _delegate()

_delegate

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

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

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()

create_iterator

public Iterator create_iterator(boolean read_only)

retrieve_first_element

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

compare

public int compare(CSequence collector,
                   Comparator comparison)

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

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

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()

add_element_as_previous

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

destroy

public void destroy()

add_all_from

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

remove_element_at_position

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

retrieve_last_element

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

all_elements_do

public boolean all_elements_do(Command what)

replace_element_at

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