//Artefact:ModelClass/com/sphenon/modelling/xmodel/XMGenerics

Description

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMGenerics/Level

Description

The generic level on which this template is intended to be used. If neither specified or None, this model element is not generic.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ spaces ∙ ☑ artefacts ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states ∙ ☐ generalizations

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMGenerics/Signature

Description

If provided, defines the signature, i.e. the list of arguments that is provided when this template is instantiated.
E.g., in an OCP template, this translates to the 'SIGNATURE'-Attribute in the instantiated template. The syntax is "type name '?'? [ ; type name '?'? ] *".
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ spaces ∙ ☑ artefacts ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states ∙ ☐ generalizations

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMGenerics/Definitions

Description

If provided, defines a definition entry for precalculated variables in the respective scope of the template.
E.g., in an OCP template, this translates to the 'DEFINE'-Attribute in the instantiated template. The syntax is "name : expression [ ; name : expression ] *".
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ spaces ∙ ☑ artefacts ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states ∙ ☐ generalizations

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMGenerics/ExistenceCondition

Description

If provided, this model element within a template is only instantiated it the condition is satisfied.
E.g., in an OCP template, this translates to an 'IF'-Attribute.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ spaces ∙ ☑ artefacts ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states ∙ ☐ generalizations

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMGenerics/MultiplicityStatement

Description

If provided, this model element within a template is instantiated multiple times, depending on this multiplier statement.
The syntax is "variable : collection-statement", whereby 'collection-statement' must evaluate to a collection, and 'variable' is assigned the collection entry corresponding to the respectively nstantiated model element. This variable then is available within the scope of expression that are possibly used inside the model element.
E.g., in an OCP template, this translates to an 'FOREACH'-Attribute.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ spaces ∙ ☑ artefacts ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states ∙ ☐ generalizations

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMGenerics/Templates

Description

A list of templates this item is based on. Each entry refers to an ObjectAggregate that is instantiated and used instead of this item. Presently, only one template is supported, and no overrides are possible.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ spaces ∙ ☑ artefacts ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states ∙ ☐ generalizations

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMGenerics/Arguments

Description

A list of named argument values that are passed to the factory for instantiation of a template, as defined by XMGenerics/Templates.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ spaces ∙ ☑ artefacts ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states ∙ ☐ generalizations