MetaDone
|
Public Member Functions | |
final MetaObject | getMO_User () |
final MetaModel | getMM_User_metamodel () |
final ConcreteModel | getCM_User_model () |
final MetaPropertyExt< String > | getMP_User_name () |
final MetaPropertyExt< String > | getMP_User_shortname () |
User | createUserIfNeeded (String name, String shortname) throws BadPreCondition |
User | retrieveUser (String name, String shortname) |
User | getUser (ConcreteObject user) throws BadPreCondition |
Static Public Member Functions | |
static BootstrapAnnex | create (Workspace workspace) throws BadPreCondition |
Private Member Functions | |
BootstrapAnnex (Workspace workspace) | |
void | bootstrap_annex () throws BadPreCondition |
void | _checkPrecondCreateuser (String name, String shortname) throws BadPreCondition |
Private Attributes | |
MetaModel | user_metamodel |
MetaObject | user_metaobject |
ConcreteModel | user_model |
final Workspace | workspace |
MetaPropertyExt< String > | user_name |
MetaPropertyExt< String > | user_shortname |
Static Private Attributes | |
static final String | USER_SHORT_NAME = "short_name" |
static final String | USER_NAME = "user_metaobject.name" |
static final String | USER = "User" |
static final String | USER_META_MODEL = "User MetaModel" |
Annex utilities.
Date=14-sept.-2006 - 10:20:08 Filename = BootstrapAnnex.java
metadone.metabusiness.annex.BootstrapAnnex.BootstrapAnnex | ( | Workspace | workspace | ) | [private] |
References metadone.metabusiness.annex.BootstrapAnnex.workspace.
Referenced by metadone.metabusiness.annex.BootstrapAnnex.create().
void metadone.metabusiness.annex.BootstrapAnnex._checkPrecondCreateuser | ( | String | name, |
String | shortname | ||
) | throws BadPreCondition [private] |
void metadone.metabusiness.annex.BootstrapAnnex.bootstrap_annex | ( | ) | throws BadPreCondition [private] |
References metadone.metabusiness.ConcreteModel.createModel(), metadone.metabusiness.MetaObject.getInstances(), metadone.metabusiness.Workspace.getOmegaMetaModel(), metadone.metabusiness.Workspace.getOmegaModel(), metadone.metabusiness.WorkspaceObject.narrow(), metadone.metabusiness.MetaModel.produceMetaModel(), metadone.metabusiness.MetaModel.produceMetaObject(), metadone.metabusiness.MetaObject.produceMetaProperty(), metadone.metabusiness.annex.BootstrapAnnex.USER, metadone.metabusiness.annex.BootstrapAnnex.USER_META_MODEL, metadone.metabusiness.annex.BootstrapAnnex.user_metamodel, metadone.metabusiness.annex.BootstrapAnnex.user_metaobject, metadone.metabusiness.annex.BootstrapAnnex.user_model, metadone.metabusiness.annex.BootstrapAnnex.USER_NAME, metadone.metabusiness.annex.BootstrapAnnex.user_name, metadone.metabusiness.annex.BootstrapAnnex.USER_SHORT_NAME, metadone.metabusiness.annex.BootstrapAnnex.user_shortname, and metadone.metabusiness.annex.BootstrapAnnex.workspace.
Referenced by metadone.metabusiness.annex.BootstrapAnnex.create().
static BootstrapAnnex metadone.metabusiness.annex.BootstrapAnnex.create | ( | Workspace | workspace | ) | throws BadPreCondition [static] |
User metadone.metabusiness.annex.BootstrapAnnex.createUserIfNeeded | ( | String | name, |
String | shortname | ||
) | throws BadPreCondition |
Creates a user if they don't already exist.
name | |
shortname |
null
. BadPreCondition |
References metadone.metabusiness.annex.BootstrapAnnex._checkPrecondCreateuser(), metadone.exception.NullArgument.check(), metadone.metabusiness.ConcreteModel.createObject(), metadone.metabusiness.ConcreteObject.createPropertyString(), metadone.metabusiness.annex.BootstrapAnnex.getCM_User_model(), metadone.metabusiness.annex.BootstrapAnnex.getMO_User(), metadone.metabusiness.annex.BootstrapAnnex.getMP_User_name(), metadone.metabusiness.annex.BootstrapAnnex.getMP_User_shortname(), and metadone.metabusiness.annex.BootstrapAnnex.retrieveUser().
Referenced by metadone.client.actions.Test3Action.actionPerformed(), and metadone.client.actions.Test4Action.configureGrasyla().
final ConcreteModel metadone.metabusiness.annex.BootstrapAnnex.getCM_User_model | ( | ) |
References metadone.metabusiness.annex.BootstrapAnnex.user_model.
Referenced by metadone.metabusiness.annex.BootstrapAnnex.createUserIfNeeded(), and metadone.metabusiness.annex.BootstrapAnnex.retrieveUser().
final MetaModel metadone.metabusiness.annex.BootstrapAnnex.getMM_User_metamodel | ( | ) |
References metadone.metabusiness.annex.BootstrapAnnex.user_metamodel.
final MetaObject metadone.metabusiness.annex.BootstrapAnnex.getMO_User | ( | ) |
References metadone.metabusiness.annex.BootstrapAnnex.user_metaobject.
Referenced by metadone.metabusiness.annex.BootstrapAnnex.createUserIfNeeded(), metadone.metabusiness.annex.User.getName(), metadone.metabusiness.annex.User.getShortName(), and metadone.metabusiness.annex.BootstrapAnnex.retrieveUser().
final MetaPropertyExt<String> metadone.metabusiness.annex.BootstrapAnnex.getMP_User_name | ( | ) |
References metadone.metabusiness.annex.BootstrapAnnex.user_name.
Referenced by metadone.metabusiness.annex.BootstrapAnnex.createUserIfNeeded(), metadone.metabusiness.annex.User.getName(), and metadone.metabusiness.annex.BootstrapAnnex.retrieveUser().
final MetaPropertyExt<String> metadone.metabusiness.annex.BootstrapAnnex.getMP_User_shortname | ( | ) |
References metadone.metabusiness.annex.BootstrapAnnex.user_shortname.
Referenced by metadone.metabusiness.annex.BootstrapAnnex.createUserIfNeeded(), metadone.metabusiness.annex.User.getShortName(), and metadone.metabusiness.annex.BootstrapAnnex.retrieveUser().
User metadone.metabusiness.annex.BootstrapAnnex.getUser | ( | ConcreteObject | user | ) | throws BadPreCondition |
User metadone.metabusiness.annex.BootstrapAnnex.retrieveUser | ( | String | name, |
String | shortname | ||
) |
name | (can be null) |
shortname | (can be null) |
References metadone.metabusiness.annex.BootstrapAnnex.getCM_User_model(), metadone.metabusiness.annex.BootstrapAnnex.getMO_User(), metadone.metabusiness.annex.BootstrapAnnex.getMP_User_name(), and metadone.metabusiness.annex.BootstrapAnnex.getMP_User_shortname().
Referenced by metadone.metabusiness.annex.BootstrapAnnex.createUserIfNeeded().
final String metadone.metabusiness.annex.BootstrapAnnex.USER = "User" [static, private] |
Referenced by metadone.metabusiness.annex.BootstrapAnnex.bootstrap_annex().
final String metadone.metabusiness.annex.BootstrapAnnex.USER_META_MODEL = "User MetaModel" [static, private] |
Referenced by metadone.metabusiness.annex.BootstrapAnnex.bootstrap_annex().
MetaPropertyExt<String> metadone.metabusiness.annex.BootstrapAnnex.user_name [private] |
final String metadone.metabusiness.annex.BootstrapAnnex.USER_NAME = "user_metaobject.name" [static, private] |
Referenced by metadone.metabusiness.annex.BootstrapAnnex.bootstrap_annex().
final String metadone.metabusiness.annex.BootstrapAnnex.USER_SHORT_NAME = "short_name" [static, private] |
Referenced by metadone.metabusiness.annex.BootstrapAnnex.bootstrap_annex().
MetaPropertyExt<String> metadone.metabusiness.annex.BootstrapAnnex.user_shortname [private] |
final Workspace metadone.metabusiness.annex.BootstrapAnnex.workspace [private] |