public class RemovalAwareList extends ManageableArrayList implements IRemovalAwareCollection
Constructor and Description |
---|
RemovalAwareList() |
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) |
void |
resetDeleted() |
ojbAdd, ojbAddAll, ojbIterator
public void afterStore(PersistenceBroker broker) throws PersistenceBrokerException
ManageableCollection
afterStore
in interface ManageableCollection
afterStore
in class ManageableArrayList
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.ArrayList
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.ArrayList
Collection.remove(Object)
public void removeAllElements()
Vector.removeAllElements()
public void removeElementAt(int index)
Vector.removeElementAt(int)
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.List
clear
in class java.util.ArrayList
public void resetDeleted()
(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