org.jpox.store.mapping
Interface MappingCallbacks

All Known Implementing Classes:
ArrayMapping, CollectionMapping, MapMapping, OracleBitSetMapping, OracleSerialisedObjectMapping, OracleStringMapping

public interface MappingCallbacks

Representation for Mapping callbacks within JDO.

Version:
$Revision: 1.3 $

Method Summary
 void deleteDependent(StateManager sm)
          Clear the collection and delete child dependent elements, values or keys that are tagged as dependent.
 void postFetch(StateManager sm)
          Method called after the retrieval of objects, so that additional operations can be performed if necessary.
 void postInsert(StateManager sm)
          Method called after the insert of objects so that additional operations can be performed if necessary.
 void postUpdate(StateManager sm)
          Method called after the update of objects, so that additional operations can be performed if necessary.
 void preDelete(StateManager sm)
          Method called before the delete of objects, so that additional operations can be performed if necessary.
 

Method Detail

postInsert

public void postInsert(StateManager sm)
Method called after the insert of objects so that additional operations can be performed if necessary.

Parameters:
sm - StateManager of the owner

postFetch

public void postFetch(StateManager sm)
Method called after the retrieval of objects, so that additional operations can be performed if necessary.

Parameters:
sm - StateManager of the owner

postUpdate

public void postUpdate(StateManager sm)
Method called after the update of objects, so that additional operations can be performed if necessary.

Parameters:
sm - StateManager of the owner

preDelete

public void preDelete(StateManager sm)
Method called before the delete of objects, so that additional operations can be performed if necessary.

Parameters:
sm - StateManager of the owner

deleteDependent

public void deleteDependent(StateManager sm)
Clear the collection and delete child dependent elements, values or keys that are tagged as dependent.

Parameters:
sm - the owner StateManager


Copyright © -2007 . All Rights Reserved.