Home | Trees | Index | Help |
|
---|
Package Modeling :: Module ClassDescription :: Class ClassDescription |
|
object
--+
|
ClassDescription
EntityClassDescription
This class is an abstract class ; all methods defined in ClassDescriptionInterface raises and should be overridden in concrete subclasses.
Please refer to ClassDescriptionInterface for documentation.
Method Summary | |
---|---|
adaptorName(self)
| |
attributesKeys(self)
| |
__TBD Currently does nothing. | |
__TBD Currently does nothing. | |
classDescriptionForDestinationKey(self,
aKey)
| |
Returns the ClassDescription corresponding to name (Static method) | |
Returns the ClassDescription associated to the object 'anObject' (Static method) | |
createInstanceWithEditingContext(self,
editingContext)
| |
See interfaces.ClassDescription for details | |
deleteRuleForRelationshipKey(self,
aKey)
| |
displayNameForKey(self,
aKey)
| |
entityName(self)
| |
foreignKeys(self)
| |
Simply empties the set of held class description (Static method) | |
inverseForRelationshipKey(self,
aKey)
| |
primaryKeys(self)
| |
propagateDeleteForObject(self,
anObject,
editingContext)
| |
Examines the object's relationships and searches for related objects not inserted in 'editingContext', then inserts these objects into editingContextif they are not already registered. | |
Assigns the supplied classDescription to 'name'. (Static method) | |
Returns the registered names (Static method) | |
registerProvider(self,
aProvider)
| |
See interfaces.ClassDescription for details | |
toManyRelationshipKeys(self)
| |
toOneRelationshipKeys(self)
| |
userPresentableDescriptionForObject(self,
anObject)
| |
validateObjectForDelete(self,
anObject)
| |
validateObjectForSave(self,
anObject)
| |
validateValueForKey(self,
anObject,
aValue,
aKey)
| |
XMLDescriptionForObject(self,
anObject)
| |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
tuple |
__implements__ = (<class Modeling.interfaces.ClassDescri...
|
Instance Method Details |
---|
awakeObjectFromFetch(self, object, editingContext)__TBD Currently does nothing. Subclasses overriding this method should call this method before proceeding |
awakeObjectFromInsertion(self, object, editingContext)__TBD Currently does nothing. Subclasses overriding this method should call this method before proceeding |
delegate(self)See interfaces.ClassDescription for details |
propagateInsertionForObject(self, anObject, editingContext)Examines the object's relationships and searches for related objects not inserted in 'editingContext', then inserts these objects into editingContextif they are not already registered. This is normally called when an EditingContext gets the processRecentChanges() message. Subclasses must override this method without calling it. |
setDelegate(self, aDelegate)See interfaces.ClassDescription for details |
Static Method Details |
---|
classDescriptionForName(name)Returns the ClassDescription corresponding to name If the requested class description cannot be found, this method posts a 'ClassDescriptionNeededForEntityNameNotification' so that listeners can register the apropriate class description --in a standard confioguration, the default ModelSet listens to that notification and registers the class descriptions each time they are needed. |
classDescriptionForObject(anObject)Returns the ClassDescription associated to the object 'anObject' |
invalidateClassDescriptionCache()Simply empties the set of held class description |
registerClassDescription(aClassDescription, name)Assigns the supplied classDescription to 'name'. The supplied ClassDescription's simple methods are not cached, unless MDL_ENABLE_SIMPLE_METHOD_CACHE is set to any non-empty string. See utils.cache_simple_methods() for details. |
registeredNames()Returns the registered names |
Class Variable Details |
---|
__implements__
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:21 2006 | http://epydoc.sf.net |