public class ManageableHashMap extends java.util.HashMap implements ManageableCollection
Constructor and Description |
---|
ManageableHashMap() |
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 |
ojbAdd(java.lang.Object anObject)
Adds a single object to the Collection.
|
void |
ojbAddAll(ManageableCollection otherCollection)
Adds another collection to this collection.
|
java.util.Iterator |
ojbIterator()
Returns an iterator over all elements in the collection.
|
public void ojbAdd(java.lang.Object anObject)
ManageableCollection
ojbAdd
in interface ManageableCollection
anObject
- The object to addpublic void ojbAddAll(ManageableCollection otherCollection)
ManageableCollection
ojbAddAll
in interface ManageableCollection
otherCollection
- The added collectionpublic java.util.Iterator ojbIterator()
ManageableCollection
ojbIterator
in interface ManageableCollection
public void afterStore(PersistenceBroker broker) throws PersistenceBrokerException
ManageableCollection
afterStore
in interface ManageableCollection
broker
- The persistence brokerPersistenceBrokerException
(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