| Home | Trees | Index | Help |
|
|---|
| Package Modeling :: Module Validation :: Class Validation |
|
Mix-in class for validation: it defined the default mechanisms used in CustomObject.
This class is left as an example, but actual methods are now in CustomObject itself and this mix-in class is not used anymore.
| Method Summary | |
|---|---|
Default implementation simply sends validateObjectForDelete() to the receiver's ClassDescription. | |
Simply calls validateForSave() | |
Default implementation simply forwards the message to the object's ClassDescription. | |
Simply calls validateForSave() | |
validateObject(self)
| |
Validate the value hold by 'aKey' attribute/relationship in the object | |
| Class Variable Summary | |
|---|---|
tuple |
__implements__ = (<class Modeling.interfaces.Validation....
|
| Method Details |
|---|
validateForDelete(self)Default implementation simply sends validateObjectForDelete() to the receiver's ClassDescription. |
validateForInsert(self)Simply calls validateForSave() |
validateForSave(self)Default implementation simply forwards the message to the object's ClassDescription. |
validateForUpdate(self)Simply calls validateForSave() |
validateValueForKey(self, aValue, aKey)Validate the value hold by 'aKey' attribute/relationship in the object Default implementation forwards the message to the object's ClassDescription. |
| Class Variable Details |
|---|
__implements__
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sat Mar 4 13:36:23 2006 | http://epydoc.sf.net |