PATH  WebObjects 4.0 Documentation > EOAccess Reference



EOAccessArrayFaultHandler

Inherits From:
EOAccessGenericFaultHandler : com.apple.yellow.eocontrol.EOFaultHandler : NSObject

Inherits From:
com.apple.yellow.eoaccess


Class Description

EOAccessArrayFaultHandler is a subclass of EOAccessGenericFaultHandler that implements a fault for an array of enterprise objects.


Constructors


EOAccessArrayFaultHandler

public EOAccessArrayFaultHandler()

Returns an uninitialized array fault handler.

public EOAccessArrayFaultHandler(com.apple.yellow.eocontrol.EOKeyGlobalID sourceGID,
java.lang.String relationshipName,
EODatabaseContext databaseContext,
com.apple.yellow.eocontrol.EOEditingContext editingContext)

Returns a handler initialized with all of the information necessary to fetch the appropriate objects when the fault is fired. When the fault is fired, the database context asks the editing context for the required objects using the EOObjectStore protocol.


Instance Methods


completeInitializationOfObject

public void completeInitializationOfObject(java.lang.Object anObject)

Asks the receiver's database context to fetch the object if it is not already in memory. This method is called when the fault is fired and uses the EOObjectStore protocol to get the information from the reciever's editing context


databaseContext

public EODatabaseContext databaseContext()

Returns the receiver's database context.


editingContext

public com.apple.yellow.eocontrol.EOEditingContext editingContext()

Returns the receiver's editing context.


relationshipName

public java.lang.String relationshipName()

Returns the receiver's relationship name.


sourceGlobalID

public com.apple.yellow.eocontrol.EOKeyGlobalID sourceGlobalID()

Returns the receiver's source global ID.





Copyright © 1998, Apple Computer, Inc. All rights reserved.