org.omg.CosCollection
Interface CollectionOperations

All Known Subinterfaces:
Bag, BagOperations, Collection, CSequence, CSequenceOperations, EqualityCollection, EqualityCollectionOperations, EqualityKeyCollection, EqualityKeyCollectionOperations, EqualityKeySortedCollection, EqualityKeySortedCollectionOperations, EqualitySequence, EqualitySequenceOperations, EqualitySequentialCollection, EqualitySequentialCollectionOperations, EqualitySortedCollection, EqualitySortedCollectionOperations, Heap, HeapOperations, KeyBag, KeyBagOperations, KeyCollection, KeyCollectionOperations, KeySet, KeySetOperations, KeySortedBag, KeySortedBagOperations, KeySortedCollection, KeySortedCollectionOperations, KeySortedSet, KeySortedSetOperations, Map, MapOperations, OrderedCollection, OrderedCollectionOperations, Relation, RelationOperations, SequentialCollection, SequentialCollectionOperations, Set, SetOperations, SortedBag, SortedBagOperations, SortedCollection, SortedCollectionOperations, SortedMap, SortedMapOperations, SortedRelation, SortedRelationOperations, SortedSet, SortedSetOperations
All Known Implementing Classes:
_BagStub, _CollectionStub, _CSequenceStub, _EqualityCollectionStub, _EqualityKeyCollectionStub, _EqualityKeySortedCollectionStub, _EqualitySequenceStub, _EqualitySequentialCollectionStub, _EqualitySortedCollectionStub, _HeapStub, _KeyBagStub, _KeyCollectionStub, _KeySetStub, _KeySortedBagStub, _KeySortedCollectionStub, _KeySortedSetStub, _MapStub, _OrderedCollectionStub, _RelationStub, _SequentialCollectionStub, _SetStub, _SortedBagStub, _SortedCollectionStub, _SortedMapStub, _SortedRelationStub, _SortedSetStub, BagPOA, CollectionPOA, CSequencePOA, EqualityCollectionPOA, EqualityKeyCollectionPOA, EqualityKeySortedCollectionPOA, EqualitySequencePOA, EqualitySequentialCollectionPOA, EqualitySortedCollectionPOA, HeapPOA, KeyBagPOA, KeyCollectionPOA, KeySetPOA, KeySortedBagPOA, KeySortedCollectionPOA, KeySortedSetPOA, MapPOA, OrderedCollectionPOA, RelationPOA, SequentialCollectionPOA, SetPOA, SortedBagPOA, SortedCollectionPOA, SortedMapPOA, SortedRelationPOA, SortedSetPOA

public interface CollectionOperations

Generated from IDL interface "Collection"

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

Method Summary
 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)
           
 void destroy()
           
 TypeCode element_type()
           
 boolean is_empty()
           
 int number_of_elements()
           
 int remove_all()
           
 void remove_element_at(Iterator where)
           
 void replace_element_at(Iterator where, Any element)
           
 boolean retrieve_element_at(Iterator where, AnyHolder element)
           
 

Method Detail

element_type

public TypeCode element_type()

add_element

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

add_element_set_iterator

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

add_all_from

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

remove_element_at

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

remove_all

public int remove_all()

replace_element_at

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

retrieve_element_at

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

all_elements_do

public boolean all_elements_do(Command what)

number_of_elements

public int number_of_elements()

is_empty

public boolean is_empty()

destroy

public void destroy()

create_iterator

public Iterator create_iterator(boolean read_only)