SolarMetric Kodo JDO 3.3.5 generated on August 31 2005

kodo.event
Class ExceptionOrphanedKeyAction

java.lang.Object
  |
  +--kodo.event.ExceptionOrphanedKeyAction
All Implemented Interfaces:
OrphanedKeyAction

public class ExceptionOrphanedKeyAction
extends Object
implements OrphanedKeyAction

Throw a javax.jdo.ObjectNotFoundException when an orphaned key is discovered.

Since:
3.2.2

Constructor Summary
ExceptionOrphanedKeyAction()
           
 
Method Summary
 Object orphan(Object oid, KodoStateManager sm, FieldMetaData fmd)
          Callback received when Kodo discovers an orphaned key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionOrphanedKeyAction

public ExceptionOrphanedKeyAction()
Method Detail

orphan

public Object orphan(Object oid,
                     KodoStateManager sm,
                     FieldMetaData fmd)
Description copied from interface: OrphanedKeyAction
Callback received when Kodo discovers an orphaned key.
Specified by:
orphan in interface OrphanedKeyAction
Following copied from interface: kodo.event.OrphanedKeyAction
Parameters:
oid - the orphaned key
sm - the instance representing the record in which the key was discovered
fmd - the field in which the key was discovered
Returns:
the value to load into field fmd; typically null

SolarMetric Kodo JDO 3.3.5 generated on August 31 2005

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.