| Home | Trees | Index | Help |
|
|---|
| Package Modeling :: Module ModelSet |
|
A ModelSet holds a set of models that can co-exist and/or co-operate at runtime.
The framework'core can only handle one ModelSet at a time: the one returned by
defaultModelSet(). The module & class main responsabilities are:
- making sure that all the entities defined in a ModelSet instance have distinct names: a ModelSet identifies its models and entities by name. Hence, object defaultModelSet() can be asked at runtime for models and entities, given their names
- registering the object returned by defaultModelSet() as the default receiver for the notification
ClassDescriptionNeededForEntityNameNotificationposted byClassDescription.classDescriptionForName().
CVS informations:
$Id: ModelSet.py,v 1.15 2005/05/03 15:12:06 sbigaret Exp $
| Classes | |
|---|---|
ModelSet |
Holds a set of Modeling.Models that can co-exist at runtime |
| Function Summary | |
|---|---|
Returns the model set to use globally in an application There can be only one such ModelSet. | |
Returns the model set to use globally in an application There can be only one such ModelSet. | |
Sets the model set to use globally in an application There can be only one such ModelSet. | |
Sets the model set to use globally in an application There can be only one such ModelSet. | |
Deprecated: use Model.updateModelWithCFG instead. | |
| Function Details |
|---|
defaultModelGroup()Returns the model set to use globally in an application There can be only one such ModelSet. |
defaultModelSet()Returns the model set to use globally in an application There can be only one such ModelSet. |
setDefaultModelGroup(aModelSet)Sets the model set to use globally in an application There can be only one such ModelSet. |
setDefaultModelSet(aModelSet)Sets the model set to use globally in an application There can be only one such ModelSet. |
updateModelWithCFG(model, cfg_path)Deprecated: use Model.updateModelWithCFG instead. This method will be removed in v0.9.1 |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sat Mar 4 13:36:23 2006 | http://epydoc.sf.net |