org.jpox.store.mapping
Interface MappingCallbacks

All Known Implementing Classes:
ArrayMapping, CollectionMapping, MapMapping, OracleArrayMapping, 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

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

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

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

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

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 © -2011 . All Rights Reserved.