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

Description

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/ObserveChanges

Description

If true, changes of attributes as well as collections of association attributes will be observed (via Observers) and respective events propagated to the event dispatcher of the enclosing class. If applied at class level, all features will be monitored. *** to be refactored *** (make implementation/factory/retriever specific etc., general event refactoring discussion)
Applies to
▸ Model level: ☐ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/ObserveModificationTypes

Description

If ObserveChanges is enabled, this property specifies which types of modifications are to be observed.
Applies to
▸ Model level: ☐ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/PropagateChanges

Description

If true, inner changes of this feature indicated by respective ChangeEvents will be listened to and propagated to the surrounding class' ChangeEventDispatcher.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/PropagateModificationTypes

Description

If PropagateChanges is enabled, this property specifies which types of modifications are propagated.
Applies to
▸ Model level: ☐ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/PropagateChangesInclude

Description

If PropagateChanges is enabled, this property specifies which change events are propagated.
Applies to
▸ Model level: ☐ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/PropagateChangesExclude

Description

If PropagateChanges is enabled, this property specifies which change events are not propagated.
Applies to
▸ Model level: ☐ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/BroadcastChanges

Description

If true and used on classes, change events from the ADO will be propagated to listeners in the current context, if found.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/OnChange

Description

Code, that is executed, if the respective feature sends a ChangeEvent.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/OnModificationTypes

Description

If OnChange code is specified, this property specifies for which types of modifications the code is executed.
Applies to
▸ Model level: ☐ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/FactoryObserveChanges

Description

If true, changes of attributes as well as collections of association attributes will be observed and repective events propagated to the event dispatcher of the enclosing class.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/ObserveActivity

Description

If true, the respective class provides a "keepAlive hook" which is called in various situations to indicate some kind of activity.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/KeepAliveBody

Description

Code, that is executed within the body of the keepAlive hook.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/KeepAliveAtInvocation

Description

If true, the method calls the keepAlive hook at each invocation.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☐ attributes ∙ ☑ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/KeepAliveAtGet

Description

If true, the keepAlive hook is called each time the attribute is accessed to be read (getter called).
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMLogicEvents/KeepAliveAtSet

Description

If true, the keepAlive hook is called each time the attribute is modified (setter called).
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states