Class Snapshot_ToManyFault
Snapshot_ToManyFault is used in CustomObject.snapshot(), when returning
the value for a to-many relationship which is still a fault.
It should not be mistaken for FaultHandler.AccessArrayFaultHandler, which
holds the real to-many fault. An instance of this class is just a mean for
CustomObject.snapshot() to tell that it found a fault. If you need the real
to-many fault, use getToManyFault().
See also: CustomObject.snapshot() for additional details.
| Method Summary |
| |
__init__(self,
sourceGlobalID,
key)
Initializer |
| |
getToManyFault(self,
ec)
Returns the real to-many fault that this object represents. |
__init__(self,
sourceGlobalID,
key)
(Constructor)
Initializer
Parameter:
- sourceGlobalID -- a non temporary GlobalID (this is a non sense to have
- a to many fault for an object that has just been inserted
key -- the corresponding to-many relationship's name
Raises ValueError is sourceGlobalID.isTemporary() is true.
-
|
getToManyFault(self,
ec)
Returns the real to-many fault that this object represents.
Parameter:
ec -- an EditingContext
-
|