Method Summary |
|
public boolean | add(Object o) |
public void | afterDelete(PersistenceBroker broker) |
public void | afterInsert(PersistenceBroker broker) |
public void | afterLookup(PersistenceBroker broker) |
public void | afterStore(PersistenceBroker broker) |
public void | afterUpdate(PersistenceBroker broker) |
public void | beforeDelete(PersistenceBroker broker) |
public void | beforeInsert(PersistenceBroker broker) prepare itself for persistence. |
public void | beforeUpdate(PersistenceBroker broker) |
protected boolean | checkForOpenTransaction(TransactionImpl tx) |
public DSet | difference(DSet otherSet) Create a new DSet object that contains the elements of this
collection minus the elements in otherSet . |
public boolean | existsElement(String predicate) Determines whether there is an element of the collection that evaluates to true
for the predicate. |
public List | getElements() |
public Integer | getId() |
protected Logger | getLog() |
public PBKey | getPBKey() |
protected TransactionImpl | getTransaction() |
public DSet | intersection(DSet otherSet) Create a new DSet object that is the set intersection of this
DSet object and the set referenced by otherSet . |
public Iterator | iterator() Returns an iterator over the elements in this collection. |
public void | ojbAdd(Object anObject) add a single Object to the Collection. |
public void | ojbAddAll(ManageableCollection otherCollection) adds a Collection to this collection. |
public Iterator | ojbIterator() returns an Iterator over all elements in the collection. |
public boolean | properSubsetOf(org.odmg.DSet otherSet) Determine whether this set is a proper subset of the set referenced by
otherSet .
Parameters: otherSet - Another set. |
public boolean | properSupersetOf(org.odmg.DSet otherSet) Determine whether this set is a proper superset of the set referenced by
otherSet .
Parameters: otherSet - Another set. |
public DCollection | query(String predicate) Evaluate the boolean query predicate for each element of the collection and
return a new collection that contains each element that evaluated to true. |
public boolean | remove(Object o) |
public boolean | removeAll(Collection c) |
public Iterator | select(String predicate) Access all of the elements of the collection that evaluate to true for the
provided query predicate. |
public Object | selectElement(String predicate) Selects the single element of the collection for which the provided OQL query
predicate is true.
Parameters: predicate - An OQL boolean query predicate. |
public void | setElements(List elements) |
public void | setElements(Vector elements) Sets the elements. |
public void | setId(Integer id) Sets the id. |
public void | setPBKey(PBKey pbKey) |
public int | size() Returns the number of elements in this collection. |
public boolean | subsetOf(DSet otherSet) Determine whether this set is a subset of the set referenced by otherSet .
Parameters: otherSet - Another set. |
public boolean | supersetOf(DSet otherSet) Determine whether this set is a superset of the set referenced by otherSet .
Parameters: otherSet - Another set. |
public DSet | union(DSet otherSet) Create a new DSet object that is the set union of this
DSet object and the set referenced by otherSet . |