PATH Documentation > WebObjects

Table of Contents

EOAccessArrayFaultHandler


Inherits from:
EOAccessGenericFaultHandler
Package:
com.webobjects.eoaccess


Class Description


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




Constructors



EOAccessArrayFaultHandler

public EOAccessArrayFaultHandler( com.webobjects.eocontrol.EOKeyGlobalID sourceGID, String relationshipName, EODatabaseContext databaseContext, com.webobjects.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(Object anObject)

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

relationshipName

public String relationshipName()

Returns the receiver's relationship name.

sourceGlobalID

public com.webobjects.eocontrol.EOKeyGlobalID sourceGlobalID()

Returns the receiver's source global ID.

toString

public String toString()

Returns a String representation of the receiver.

© 2001 Apple Computer, Inc. (Last Published April 13, 2001)


Table of Contents