|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OJB can handle java.util.Collection as well as user defined collection classes as collection attributes in persistent classes. In order to collaborate with the OJB mechanisms these collection must provide a minimum protocol as defined by this interface ManageableCollection. The methods have a prefix "ojb" that indicates that these methods are "technical" methods, required by OJB and not to be used in business code.
Method Summary | |
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. |
Method Detail |
public void ojbAdd(java.lang.Object anObject)
anObject
- The object to addpublic void ojbAddAll(ManageableCollection otherCollection)
otherCollection
- The added collectionpublic java.util.Iterator ojbIterator()
public void afterStore(PersistenceBroker broker) throws PersistenceBrokerException
broker
- The persistence broker
PersistenceBrokerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |