net.wotonomy.control
Interface EOFaulting

All Known Subinterfaces:
EODeferredFaulting, EOEnterpriseObject
All Known Implementing Classes:
EOCustomObject, EOGenericRecord

public interface EOFaulting

EOFaulting defines the requirements for objects that can be faulted by an EOFaultManager.

Version:
$Revision: 893 $
Author:
michael@mpowers.net, $Author: cgruber $

Method Summary
 void clearFault()
          Called by EOFaultHandler to prepare the object to be turned into a fault.
 EOFaultHandler faultHandler()
          Returns this object's EOFaultHandler.
 boolean isFault()
          Returns whether this object is currently a fault.
 void turnIntoFault(EOFaultHandler aFaultHandler)
          Turns this object into a fault using the specified fault handler.
 void willRead()
          Called to completely fire the fault, reading all values.
 void willRead(java.lang.String aKey)
          Called to fire the fault for the specified key.
 

Method Detail

clearFault

void clearFault()
Called by EOFaultHandler to prepare the object to be turned into a fault.


faultHandler

EOFaultHandler faultHandler()
Returns this object's EOFaultHandler.


isFault

boolean isFault()
Returns whether this object is currently a fault. Returns true if this object has not yet retrieved any values.


turnIntoFault

void turnIntoFault(EOFaultHandler aFaultHandler)
Turns this object into a fault using the specified fault handler.


willRead

void willRead()
Called to completely fire the fault, reading all values. This method may be implemented to call willRead(null).


willRead

void willRead(java.lang.String aKey)
Called to fire the fault for the specified key. The fault manager is required to populate the specified key with a value, and may populate any or all of the other values on this object. A null key will populate all values on the object. NOTE: This method is not part of the specification.



Copyright © 2006 null. All Rights Reserved.