org.omg.CosCollection
Class KeyBagPOATie

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended byorg.omg.CosCollection.KeyBagPOA
          extended byorg.omg.CosCollection.KeyBagPOATie
All Implemented Interfaces:
CollectionOperations, InvokeHandler, KeyBagOperations, KeyCollectionOperations

public class KeyBagPOATie
extends KeyBagPOA

Generated from IDL interface "KeyBag"

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

Constructor Summary
KeyBagPOATie(KeyBagOperations delegate)
           
KeyBagPOATie(KeyBagOperations delegate, POA poa)
           
 
Method Summary
 POA _default_POA()
           
 KeyBagOperations _delegate()
           
 void _delegate(KeyBagOperations delegate)
           
 KeyBag _this()
           
 KeyBag _this(ORB orb)
           
 void add_all_from(Collection collector)
           
 boolean add_element_set_iterator(Any element, Iterator where)
           
 boolean add_element(Any element)
           
 boolean add_or_replace_element_with_key_set_iterator(Any element, Iterator where)
           
 boolean add_or_replace_element_with_key(Any element)
           
 boolean all_elements_do(Command what)
           
 boolean contains_all_keys_from(KeyCollection collector)
           
 boolean contains_element_with_key(Any key)
           
 Iterator create_iterator(boolean read_only)
           
 void destroy()
           
 TypeCode element_type()
           
 boolean is_empty()
           
 TypeCode key_type()
           
 void key(Any element, AnyHolder key)
           
 void keys(Any[] elements, AnySequenceHolder keys)
           
 boolean locate_element_with_key(Any key, Iterator where)
           
 boolean locate_next_element_with_different_key(Iterator where)
           
 boolean locate_next_element_with_key(Any key, Iterator where)
           
 boolean locate_or_add_element_with_key_set_iterator(Any element, Iterator where)
           
 boolean locate_or_add_element_with_key(Any element)
           
 int number_of_different_keys()
           
 int number_of_elements_with_key(Any key)
           
 int number_of_elements()
           
 int remove_all_elements_with_key(Any key)
           
 int remove_all()
           
 void remove_element_at(Iterator where)
           
 boolean remove_element_with_key(Any key)
           
 void replace_element_at(Iterator where, Any element)
           
 boolean replace_element_with_key_set_iterator(Any element, Iterator where)
           
 boolean replace_element_with_key(Any element)
           
 boolean retrieve_element_at(Iterator where, AnyHolder element)
           
 boolean retrieve_element_with_key(Any key, AnyHolder element)
           
 
Methods inherited from class org.omg.CosCollection.KeyBagPOA
_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

KeyBagPOATie

public KeyBagPOATie(KeyBagOperations delegate)

KeyBagPOATie

public KeyBagPOATie(KeyBagOperations delegate,
                    POA poa)
Method Detail

_this

public KeyBag _this()
Overrides:
_this in class KeyBagPOA

_this

public KeyBag _this(ORB orb)
Overrides:
_this in class KeyBagPOA

_delegate

public KeyBagOperations _delegate()

_delegate

public void _delegate(KeyBagOperations delegate)

_default_POA

public POA _default_POA()
Overrides:
_default_POA in class Servant

add_or_replace_element_with_key_set_iterator

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

number_of_elements_with_key

public int number_of_elements_with_key(Any key)
                                throws KeyInvalid
Throws:
KeyInvalid

locate_next_element_with_different_key

public boolean locate_next_element_with_different_key(Iterator where)
                                               throws IteratorInvalid,
                                                      IteratorInBetween
Throws:
IteratorInvalid
IteratorInBetween

number_of_different_keys

public int number_of_different_keys()

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

replace_element_with_key

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

add_or_replace_element_with_key

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

key_type

public TypeCode key_type()

retrieve_element_with_key

public boolean retrieve_element_with_key(Any key,
                                         AnyHolder element)
                                  throws KeyInvalid
Throws:
KeyInvalid

keys

public void keys(Any[] elements,
                 AnySequenceHolder keys)
          throws ElementInvalid
Throws:
ElementInvalid

key

public void key(Any element,
                AnyHolder key)
         throws ElementInvalid
Throws:
ElementInvalid

element_type

public TypeCode element_type()

remove_element_with_key

public boolean remove_element_with_key(Any key)
                                throws KeyInvalid
Throws:
KeyInvalid

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

replace_element_with_key_set_iterator

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

locate_or_add_element_with_key

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

is_empty

public boolean is_empty()

locate_next_element_with_key

public boolean locate_next_element_with_key(Any key,
                                            Iterator where)
                                     throws KeyInvalid,
                                            IteratorInvalid
Throws:
KeyInvalid
IteratorInvalid

create_iterator

public Iterator create_iterator(boolean read_only)

locate_or_add_element_with_key_set_iterator

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

locate_element_with_key

public boolean locate_element_with_key(Any key,
                                       Iterator where)
                                throws KeyInvalid,
                                       IteratorInvalid
Throws:
KeyInvalid
IteratorInvalid

add_element_set_iterator

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

contains_all_keys_from

public boolean contains_all_keys_from(KeyCollection collector)
                               throws KeyInvalid
Throws:
KeyInvalid

remove_all_elements_with_key

public int remove_all_elements_with_key(Any key)
                                 throws KeyInvalid
Throws:
KeyInvalid

remove_all

public int remove_all()

destroy

public void destroy()

contains_element_with_key

public boolean contains_element_with_key(Any key)
                                  throws KeyInvalid
Throws:
KeyInvalid

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)