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

Description

[source]
Code and settings, that are used in the factory class.

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/Constructors

Description

[source]
Additional constructors (besides the default constructor) with different sets of additional arguments.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/TargetInterfaceType

Description

[source]
Interface type of instances, which are created by this factory.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/TargetImplementationType

Description

[source]
Implementation type of instances, which are created by this factory.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/FactoryId

Description

[source]
Implementation type of this factory. The default factory's id is 'Default'.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/ReadOnly

Description

[source]
If true, and the respective attribute is also generally marked as readonly, it is readonly in the Factory, too.
Typical usage is for a tightly integrated subobject with a factory default value and which is edited in the factory.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/Body

Description

[source]
Code, that is inserted directly into the generated factory implementation.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/FactoryBody

Description

[source]
Code, that is inserted directly into the generated class implementation, but is specified at attributes or association ends
  • states.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/Validation

    Description

    [source]
    Code, that is inserted in the validate-method.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/ValidationCache

    Description

    [source]
    If true, validation is only performed once until the respective attribute is modified via it's set method.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/Sticky

    Description

    [source]
    If true, this attribute is not affected by a factory reset.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/FinalValidation

    Description

    [source]
    Code, that is executed after all attributes of the factory have been set and normal (attribute validation has taken place), but before a new instance is created. This code is typically costly, so that it should be executed only once after the user has confirmed that a creation shall take place.
    In contrast, normal attribute validation may be performed after entering or leaving input fields, or even after each key stroke in a field.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/GetBody

    Description

    [source]
    Code, that is used in automatically generated get methods to retrieve the actual value. If omitted, a default piece of code is generated, simply using the member variable.
    If provided, this code must define a variable named "result" and assign it the value to return. It must not return this variable by itself, since postprocessing code might be applied.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/BeforeGetBody

    Description

    [source]
    Code, that is inserted in automatically generated get methods before the actual value is retrieved. If defined on class level, the code is used for each attribute.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/AfterGetBody

    Description

    [source]
    Code, that is inserted in automatically generated get methods after the actual value is retrieved, immediately before it is returned. If defined on class level, the code is used for each attribute.
    This code has access to a local variable named "result", which is assigned the value to be returned.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/BeforeSetBody

    Description

    [source]
    Code, that is inserted in automatically generated set methods before the actual value assignment takes place. If defined on class level, the code is used for each attribute.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/AfterSetBody

    Description

    [source]
    Code, that is inserted in automatically generated set methods after the actual value assignment took place. If defined on class level, the code is used for each attribute.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/OperationBody

    Description

    [source]
    Code, that is used in operations.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/InstancePreparationBody

    Description

    [source]
    Code, that is executed after all attributes of a newly instantiated instance have been set, before final validation takes place, and before such an instance is delivered.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/InstancePostparationBody

    Description

    [source]
    Code, that is executed after all attributes of a newly instantiated instance have been set, after final validation has taken place, and before such an instance is delivered.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/StandardCreateOperation

    Description

    [source]
    If true, and no OperationBody is provided, this method is implemented as a standard create operation.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/StandardPreCreateOperation

    Description

    [source]
    If true, and no OperationBody is provided, this method is implemented as a standard precreate operation.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/StandardMustCreateOperation

    Description

    [source]
    If true, and no OperationBody is provided, this method is implemented as a standard mustcreate operation.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/PrepareFactoryFinally

    Description

    [source]
    Code, that is inserted and executed direct after the complete Validation of the factory is passed successfully. Implementors should place there expensive operations like the creation of depending objects. Implementors should throw ValidationFailure if operations fail and should use the invalidate methods to propagate the failure correctly into the UI
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/MaintainDerivedFactories

    Description

    [source]
    If true, the factory for instances of this model elements maintains a list of dervided factories. These derived factories are included in an optinally automatically created factory choice set, see also XMLogicFactory/HasFactoryChoiceSet and XMLogicFactory/RegisterInBaseFactory for more information.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/RegisterInBaseFactory

    Description

    [source]
    If true, the factory for instances of this model elements registers itself in the derived factory list maintained by it's base factory, see XMLogicFactory/MaintainDerivedFactories.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/HasFactoryChoiceSet

    Description

    [source]
    If true, the factory for instances of this model elements provides a method to calculate a factory choice set. This choice set can be presented in the UI whenever a new instance of this model element is to be created, so that in effect the specific (derived) type to be created can be choosen from.
    Derived factories can be included automatically in this choice set. For this to work, the properties XMLogicFactory/MaintainDerivedFactories and XMLogicFactory/RegisterInBaseFactory must be enabled appropirately for the participating factories in the inheritance tree.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicFactory/FactoryChoiceSetConstructors

    Description

    [source]
    Normally, an instance of a class' factory is constructed and added to a factory choice set, if XMLogicFactory/RegisterInBaseFactory is enabled.
    If provided, this property defines a list of factory construction code. Each entry in the list is then added to the factory choice set. This is useful, if factory instances can be parametrised and each instance shall contain a different parameter value, so that one such factory class corresponds to several instances, which behave differently.
    • logical model
    • technical model
    • packages
    • classes
    • attributes
    • operations
    • association ends
    • states