| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.event.ExceptionOrphanedKeyAction
public class ExceptionOrphanedKeyAction
Throw a ObjectNotFoundException when an orphaned key is discovered.
| Constructor Summary | |
|---|---|
| ExceptionOrphanedKeyAction() | |
| Method Summary | |
|---|---|
|  java.lang.Object | orphan(java.lang.Object oid,
       OpenJPAStateManager sm,
       ValueMetaData vmd)Callback received when OpenJPA discovers an orphaned key. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ExceptionOrphanedKeyAction()
| Method Detail | 
|---|
public java.lang.Object orphan(java.lang.Object oid,
                               OpenJPAStateManager sm,
                               ValueMetaData vmd)
OrphanedKeyAction
orphan in interface OrphanedKeyActionoid - 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
fmd; typically
 null| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||