public class RemovalAwareCollection extends ManageableVector implements IRemovalAwareCollection
Constructor and Description |
---|
RemovalAwareCollection() |
Modifier and Type | Method and Description |
---|---|
void |
afterStore(PersistenceBroker broker)
A callback method to implement 'removal-aware' (track removed objects and delete
them by its own) collection implementations.
|
void |
clear() |
java.lang.Object |
remove(int index) |
boolean |
remove(java.lang.Object o) |
void |
removeAllElements() |
void |
removeElementAt(int index) |
ojbAdd, ojbAddAll, ojbIterator
add, add, addAll, addAll, addElement, capacity, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, removeAll, removeElement, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
public void afterStore(PersistenceBroker broker) throws PersistenceBrokerException
ManageableCollection
afterStore
in interface ManageableCollection
afterStore
in class ManageableVector
broker
- The persistence brokerPersistenceBrokerException
ManageableCollection.afterStore(PersistenceBroker broker)
public java.lang.Object remove(int index)
remove
in interface java.util.List
remove
in class java.util.Vector
List.remove(int)
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection
remove
in interface java.util.List
remove
in class java.util.Vector
Collection.remove(Object)
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.List
clear
in class java.util.Vector
Vector.clear()
public void removeAllElements()
removeAllElements
in class java.util.Vector
Vector.removeAllElements()
public void removeElementAt(int index)
removeElementAt
in class java.util.Vector
Vector.removeElementAt(int)
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30