public class RemovalAwareSet extends ManageableHashSet implements IRemovalAwareCollection
Constructor and Description |
---|
RemovalAwareSet() |
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() |
boolean |
remove(java.lang.Object o) |
void |
removeAllElements() |
void |
resetDeleted() |
ojbAdd, ojbAddAll, ojbIterator
public void afterStore(PersistenceBroker broker) throws PersistenceBrokerException
ManageableCollection
afterStore
in interface ManageableCollection
afterStore
in class ManageableHashSet
broker
- The persistence brokerPersistenceBrokerException
ManageableCollection.afterStore(PersistenceBroker broker)
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection
remove
in interface java.util.Set
remove
in class java.util.HashSet
Collection.remove(Object)
public void removeAllElements()
Vector.removeAllElements()
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.Set
clear
in class java.util.HashSet
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