kodo.event
Interface OrphanedKeyAction
- All Known Implementing Classes:
- ExceptionOrphanedKeyAction, LogOrphanedKeyAction, NoOrphanedKeyAction
- public interface OrphanedKeyAction
Perform an action when Kodo detects an orphaned key in the database.
- Since:
- 3.2.2
orphan
public Object orphan(Object oid,
KodoStateManager sm,
FieldMetaData fmd)
- Callback received when Kodo discovers an orphaned key.
- Parameters:
oid - the orphaned keysm - the instance representing the record in which the
key was discoveredfmd - the field in which the key was discovered- Returns:
- the value to load into field
fmd; typically
null
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.