1
/* RCS $PostgreSQL: pgsql/src/corba/CosQueryCollection.idl,v 1.3 2003-11-29 22:40:52 pgsql Exp $
3
* ----------------------------------------------------------------------------
4
* This is unmarked software provided by the Object Management Group,Inc. (OMG)
5
* ----------------------------------------------------------------------------
10
* CosQueryCollection is the Common Object Services Specification query
11
* query colleciton module as it it appears in COSS1, v1.0.
15
#ifndef CosQueryCollection_idl
16
#define CosQueryCollection_idl
18
module CosQueryCollection {
20
exception ElementInvalid {};
21
exception IteratorInvalid {};
22
exception PositionInvalid {};
24
typedef string Istring;
30
typedef sequence<NVPair> ParameterList;
35
interface CollectionFactory {
36
Collection create (in ParameterList params);
39
interface Collection {
41
readonly attribute long cardinality;
43
void add_element (in any element)
44
raises(ElementInvalid);
46
void add_all_elements (in Collection elements)
47
raises(ElementInvalid);
49
void insert_element_at (in any element, in Iterator where)
50
raises(IteratorInvalid,
53
void replace_element_at (in any element, in Iterator where)
54
raises(IteratorInvalid,
58
void remove_element_at (in Iterator where)
59
raises(IteratorInvalid,
62
void remove_all_elements ();
64
any retrieve_element_at (in Iterator where)
65
raises(IteratorInvalid,
68
Iterator create_iterator ();
74
raises(IteratorInvalid,
82
#endif // CosQueryCollection_idl