| Home | Trees | Index | Help |
|
|---|
| Package Modeling :: Module ClassDescription |
|
ClassDescription
!!! Abstract class !!!
Class description fills the gap between a model and informations needed at run-time, such as ...
Automatically registered when a model is loaded/instanciated.
Module's functions are the one a ZModelizationTool should be able to answer. (or something else?)
CVS information
$Id: ClassDescription.py,v 1.16 2004/07/20 06:21:36 sbigaret Exp $
| Classes | |
|---|---|
ClassDescription |
This class is an abstract class ; all methods defined in ClassDescriptionInterface raises and should be overridden in concrete subclasses. |
| Function Summary | |
|---|---|
abstract()
| |
Returns the ClassDescription corresponding to name | |
Returns the ClassDescription associated to the object 'anObject' | |
Simply empties the set of held class description | |
Assigns the supplied classDescription to 'name'. | |
Returns the registered names | |
| Function 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 |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sat Mar 4 13:36:24 2006 | http://epydoc.sf.net |