Home | Trees | Index | Help |
|
---|
Package Modeling :: Module FaultHandler :: Class AccessArrayFaultHandler |
|
FaultHandler
--+ |AccessGenericFaultHandler
--+ | AccessArrayFaultHandler
Method Summary | |
---|---|
Initializes the fault handler with all the necessary informations needed to fetch rows from a database when the corresponding faulted object needs to be populated with its own data. | |
__getattr__(self,
name)
| |
See also: 'DatabaseContext.objectsForSourceGlobalID()' | |
Returns true or false, depending on the object internal state. | |
Returns the name of the source object's toMany relationship that fault handler is reponsible for. | |
Returns the 'KeyGlobalID' identifying the source object for which that fault handler was created. | |
Inherited from AccessGenericFaultHandler | |
Returns the 'DatabaseContext' object the fault handler uses to fetch data rows from a database. | |
Returns the underlying EditingContext --see _setContext(). | |
Removes itself from the chain of handlers | |
Return the ``generation'' of the fault --see: 'linkAfterHandler()'. | |
Adds the FaultHandler to the chain ended by 'anAccessGenericFaultHandler'. | |
Returns the successor of 'self' in the chain, or None. | |
Returns the predecessor of 'self' in the chain, or None | |
Inherited from FaultHandler | |
|
Method Details |
---|
__init__(self,
srcKeyGlobalID,
relationshipName,
aDatabaseContext,
anEditingContext,
object)
|
completeInitializationOfObject(self, anObject)See also: 'DatabaseContext.objectsForSourceGlobalID()' |
isFault(self)Returns true or false, depending on the object internal state. When the object is still a fault, returns 1. When the fault was triggered, this object acts as a proxy for the underlying sequence, and it returns 0 in this case. This is needed during validation, when an object holds a toMany fault and validation needs to know whether this is a fault or not. See also: Relationship.validateValue() |
relationshipName(self)Returns the name of the source object's toMany relationship that fault handler is reponsible for. |
sourceGlobalID(self)Returns the 'KeyGlobalID' identifying the source object for which that fault handler was created. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:23 2006 | http://epydoc.sf.net |