PATH |
EOModelGroup.Delegate
Package: com.webobjects.eoaccess
Interface Description
An EOModelGroup object should have a delegate which can influence how it finds and loads models. The EOModelGroup instance delegate can implement the methods below:
- entityRelationshipForRow
- subEntityForEntity
- entityFailedToLookupClassNamed
- classForObjectWithGlobalID
In addition to the delegates you assign to EOModelGroup instances, the EOModelGroup class itself can have a delegate. The class delegate implements a single method-defaultModelGroup. For more information, see the EOModelGroup.ClassDelegate interface description.
Instance Methods
classForObjectWithGlobalID
public abstract Class classForObjectWithGlobalID( EOEntity entity, com.webobjects.eocontrol.EOGlobalID globalID)
entityFailedToLookupClassNamed
public abstract Class entityFailedToLookupClassNamed( EOEntity entity, String className)
entityRelationshipForRow
public abstract EORelationship entityRelationshipForRow( EOEntity entity, NSDictionary row, EORelationship relationship)
modelGroupEntityWithName
public abstract EOModel modelGroupEntityWithName( EOModelGroup group, String name)
null
if name is not an entity in group.
relationshipFailedToLookupDestinationWithName
public abstract EOEntity relationshipFailedToLookupDestinationWithName( EORelationship relationship, String entityName)
null
, the destination entity is set to null
.
subEntityForEntity
public abstract EOEntity subEntityForEntity( EOEntity entity, NSDictionary primaryKey)
© 2001 Apple Computer, Inc. (Last Published April 13, 2001)