Home | Trees | Index | Help |
|
---|
Package Modeling :: Module AdaptorOperation :: Class AdaptorOperation |
|
Method Summary | |
---|---|
__init__(self,
anEntity,
adaptorOperator)
| |
Compares 'self' to 'anAdaptorOperation'. | |
__repr__(self)
| |
Returns a string representation for this object, made of: 'repr(self)', the operator and the entity's name. | |
| |
Returns the type of the operation the AdaptorOperation performs | |
__TBD for lock only | |
See setChangedValues() for details | |
Returns the Entity corresponding to the object concerned by this AdaptorOperation. | |
exception(self)
| |
Returns the qualifier that should be used for LOCK, UPDATE or DELETE operations. | |
Sets the type of the operation the AdaptorOperation performs | |
__TBD for lock only | |
INSERT: the full set of value to be inserted within the underlying database | |
setException(self,
anException)
| |
Sets the object's quelifier | |
Unimplemented yet | |
Unimplemented yet | |
Internally used by __str__ |
Method Details |
---|
__cmp__(self,
anAdaptorOperation)
Compares 'self' to 'anAdaptorOperation'. Comparison is based on the
AdaptorOperations' adaptorOperators, whose order is:
LOCK, INSERT, UPDATE, DELETE, STORED_PROCEDURE (the latter is not supported
yet). |
__str__(self)
Returns a string representation for this object, made of:
'repr(self)', the operator and the entity's name. |
__unimplemented__(self) |
adaptorOperator(self)Returns the type of the operation the AdaptorOperation performs |
attributes(self)__TBD for lock only |
changedValues(self)See setChangedValues() for details |
entity(self)Returns the Entity corresponding to the object concerned by this AdaptorOperation. See also: setEntity() |
qualifier(self)Returns the qualifier that should be used for LOCK, UPDATE or DELETE operations. See also: setQualifier() |
setAdaptorOperator(self, anAdaptorOperator)Sets the type of the operation the AdaptorOperation performs Raises ValueError in anAdaptorOperator is not in ADAPTOR_OPERATORS. |
setAttributes(self, attributes)__TBD for lock only |
setChangedValues(self, changedValues)INSERT: the full set of value to be inserted within the underlying database UPDATE: the values to changed LOCK: the values to be compared with the row in the database Parameter: changedValues -- a dictionary made of attributes' names and their corresponding values. |
setQualifier(self, aQualifier)Sets the object's quelifier Used by for LOCK, UPDATE and DELETE. |
setStoredProcedure(self, aStoredProcedure)Unimplemented yet |
storedProcedure(self)Unimplemented yet |
__operatorToString(self)Internally used by __str__ |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:23 2006 | http://epydoc.sf.net |