org.apache.openjpa.event
Class NoneOrphanedKeyAction
java.lang.Object
   org.apache.openjpa.event.NoneOrphanedKeyAction
org.apache.openjpa.event.NoneOrphanedKeyAction
- All Implemented Interfaces: 
- OrphanedKeyAction
- public class NoneOrphanedKeyAction 
- extends Object- implements OrphanedKeyAction
Does nothing when an orphaned key is discovered.
- Since:
- 0.3.2.2
- Author:
- Abe White
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
NoneOrphanedKeyAction
public NoneOrphanedKeyAction()
orphan
public Object orphan(Object oid,
                     OpenJPAStateManager sm,
                     ValueMetaData vmd)
- Description copied from interface: OrphanedKeyAction
- Callback received when OpenJPA discovers an orphaned key.
 
- 
- Specified by:
- orphanin interface- OrphanedKeyAction
 
- 
- Parameters:
- oid- the orphaned key
- sm- the instance representing the record in which the
 key was discovered; may be null
- vmd- the value in which the key was discovered
- Returns:
- the value to load into field fmd; typicallynull
 
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.