Home | Trees | Index | Help |
|
---|
Package Modeling :: Module FaultHandler |
|
FaultHandler & subclasses
A FaultHandler is an object that takes care of the full initialization of an object conforming to the Faulting interface.
Module's methods manipulates the Faulting interface an object conforms to.
Classes
The module defined four different classes:
- 'FaultHandler' is the parent class of all fault handlers. It defines the generic API a fault handler uses to finalize initialization of an object or to make an object a fault.
- 'AccessGenericFaultHandler'
- 'AccessArrayFaultHandler'
- 'AccessFaultHandler'
See also: Faulting interface
CVS information
$Id: FaultHandler.py,v 1.17 2004/07/20 06:21:37 sbigaret Exp $
Classes | |
---|---|
AccessArrayFaultHandler |
Handles to-many relationships |
AccessFaultHandler |
Handles to-one relationships |
AccessGenericFaultHandler |
This is an abstract class providing the following capabilities: |
FaultHandler |
A FaultHandler works with any object implementing the Faulting interface ; its purpose is to help any conforming object, postponing their initialization until needed, to get their actual datas from DB. |
Function Summary | |
---|---|
__abstract__()
| |
Informs the object that it has been fully initialized. | |
Returns the fault handler for the object, or None if the object is not a fault. | |
Tells whether the object is a fault. | |
Makes 'anObject' a fault. |
Function Details |
---|
clearFault(anObject)Informs the object that it has been fully initialized. |
handlerForFault(anObject)Returns the fault handler for the object, or None if the object is not a fault. Simply sends message 'Faulting.faultHandler()' to 'anObject'. Parameter: anObject -- an object conforming to the Faulting interface |
isFault(anObject)Tells whether the object is a fault. Simply calls Faulting.isFault() on 'anObject'. Parameter: anObject -- an object conforming to the Faulting interface |
makeObjectIntoFault(anObject, aFaultHandler)Makes 'anObject' a fault. Simply calls Faulting.makeObjectIntoFault() on that object. Parameters:
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:25 2006 | http://epydoc.sf.net |