Package org.apache.openjpa.event
Class NoneOrphanedKeyAction
java.lang.Object
org.apache.openjpa.event.NoneOrphanedKeyAction
- All Implemented Interfaces:
OrphanedKeyAction
Does nothing when an orphaned key is discovered.
- Since:
- 0.3.2.2
- Author:
- Abe White
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorphan
(Object oid, OpenJPAStateManager sm, ValueMetaData vmd) Callback received when OpenJPA discovers an orphaned key.
-
Constructor Details
-
NoneOrphanedKeyAction
public NoneOrphanedKeyAction()
-
-
Method Details
-
orphan
Description copied from interface:OrphanedKeyAction
Callback received when OpenJPA discovers an orphaned key.- Specified by:
orphan
in 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
-