Package org.apache.openjpa.event
Class ExceptionOrphanedKeyAction
- java.lang.Object
 - 
- org.apache.openjpa.event.ExceptionOrphanedKeyAction
 
 
- 
- All Implemented Interfaces:
 OrphanedKeyAction
public class ExceptionOrphanedKeyAction extends Object implements OrphanedKeyAction
Throw aObjectNotFoundExceptionwhen an orphaned key is discovered.- Since:
 - 0.3.2.2
 - Author:
 - Abe White
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ExceptionOrphanedKeyAction() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectorphan(Object oid, OpenJPAStateManager sm, ValueMetaData vmd)Callback received when OpenJPA discovers an orphaned key. 
 - 
 
- 
- 
Method Detail
- 
orphan
public Object orphan(Object oid, OpenJPAStateManager sm, ValueMetaData vmd)
Description copied from interface:OrphanedKeyActionCallback received when OpenJPA discovers an orphaned key.- Specified by:
 orphanin interfaceOrphanedKeyAction- Parameters:
 oid- the orphaned keysm- the instance representing the record in which the key was discovered; may be nullvmd- the value in which the key was discovered- Returns:
 - the value to load into field 
fmd; typicallynull 
 
 - 
 
 -