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

Description

Properties of state management in memory (no database option).

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/AllSet

Description

An allset is maintained, i.e. a collection containing all instances of the respective class.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/AllSetOptional

Description

The code for maintainance of an allset is created, but actual maintenance can be controlled via a property setting.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/OnDemandDefaultInitialiser

Description

The result of this expression is assigned to persistent members if they are accessed by their getter and have a null value assigned.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/BeforeStateGetBody

Description

Code, that is inserted in automatically generated state set methods before the actual value is returned.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/BeforeStateSetBody

Description

Code, that is inserted in automatically generated state set methods before the actual assignment takes place.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/AfterStateSetBody

Description

Code, that is inserted in automatically generated state set methods after the actual assignment took place.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/PersistentType

Description

Overrides the PersistentType in XMState.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/PersistentTypeMapper

Description

If specified, this property overrides XMState/PersistentTypeMapper.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/PersistentTypeReverseMapper

Description

If specified, this property overrides XMState/PersistentTypeReverseMapper.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/ManageMappedInstance

Description

If true, next to the mapped persistant instance of an attribute it's application domain type instance is kept in the state adapter, too. Reasons might be caching or alternate conversion procedures, e.g. loading into existing instead of creating new values.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/MappedOnDemandDefaultInitialiser

Description

The result of this expression is assigned to application domain type instance members if they are accessed by their getter and have a null value assigned.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

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

Description

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

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/AdapterBody

Description

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

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/Declaration

Description

Code, that is used to declare a member for this attribute. If omitted, the property XMLogicImplementation/Declaration is used, if this is also omitted, a standard declaration is generated based on the attribute type and name.
Applies to
▸ Model level: ☐ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

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

Description

Code, that is used to implement this operation within the InMemory backend state class. Used in conjunction with XMLogicImplementation/OperationDelegateToState.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☐ attributes ∙ ☑ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/RetrieverFilterMatchBody

Description

Code, that is used to implement the matching of this attribute within the InMemory RetriverFilter implementation. If not provided, the respective Filter.matches method is applied to the attribute value of the search candidates, or to all of them in case of a to-many relation.
In case of a mismatch, this code must execute a 'return false;' statement.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMInMemory/RetrieverFilterCompareBody

Description

Code, that is used to implement the comparing of this attribute within the InMemory RetriverFilter implementation. If not provided, the respective Comparable.compare method is applied if the attribute is castable to Comparable.
The code is inserted into a loop and shall return an integer value indicating the difference if there is one with respect to ordering, or do nothing otherwise.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states