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

Description

Code and settings, that are used in the editor class.

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

Description

Interface type of instances, which are updated by this editor.
Applies to
▸ Model level: ☐ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

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

Description

Implementation type of instances, which are updated by this editor.
Applies to
▸ Model level: ☐ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

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

Description

Code, that is inserted directly into the generated editor implementation.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEditor/EditorBody

Description

Code, that is inserted directly into the generated class implementation, but is specified at attributes or association ends
  • states.
  • Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

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

    Description

    Code, that is inserted in the validate-method.
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

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

    Description

    If true, validation is only performed once until the respective attribute is modified via it's set method.
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

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

    Description

    Code, that is executed after all attributes of the editor have been set and normal (attribute validation has taken place), but before the instance is updated. This code is typically costly, so that it should be executed only once after the user has confirmed that the updates shall take place (are commited).
    In contrast, normal attribute validation may be performed after entering or leaving input fields, or even after each key stroke in a field.
    Editing transactions (like the EditTransaction.model in the interaction package) must call this method after updating the instance and before TSM commit is called.
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEditor/Validatable

    Description

    If true, the class implements the extended validation protocol as defined by the Java interface Java interface
    ADValidatable
    .
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEditor/UpdateModePreparation

    Description

    Instances can be set to an update mode, signalling that now e.g. validations shall be loosened so that intermediate invalid states are permitted. Instances in update mode shall never be commited to persistent state.
    This property defines code to be executed when update mode is entered.
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEditor/UpdateModePostparation

    Description

    This property defines code to be executed when update mode is left.
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

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

    Description

    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.
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

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

    Description

    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.
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

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

    Description

    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.
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

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

    Description

    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.
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

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

    Description

    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.
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

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

    Description

    Code, that is used in operations.
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☐ attributes ∙ ☑ operations ∙ ☐ association ends ∙ ☐ states

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

    Description

    Code, that is executed after all attributes of the instance have been set and before such an instance is delivered.
    Applies to
    ▸ Model level: ☑ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEditor/StandardUpdateOperation

    Description

    If true, and no OperationBody is provided, this method is implemented as a standard update operation.
    Applies to
    ▸ Model level: ☐ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☐ attributes ∙ ☑ operations ∙ ☐ association ends ∙ ☐ states

    //Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEditor/StandardMustUpdateOperation

    Description

    If true, and no OperationBody is provided, this method is implemented as a standard mustupdate operation.
    Applies to
    ▸ Model level: ☐ logical model ∙ ☑ technical model
    ▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☐ attributes ∙ ☑ operations ∙ ☐ association ends ∙ ☐ states