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

Description

Properties of state management with JPA.

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMJPA/UseJPAAnnotations

Description

If true, JPA entity classes are annotated with JPA annotations. This is only partially implemented at present.
☑ logical model ∙ ☑ technical model ∙ ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMJPA/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.
☑ logical model ∙ ☑ technical model ∙ ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

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

Description

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

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

Description

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

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

Description

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

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

Description

Overrides the PersistentType in XMState.
☑ logical model ∙ ☑ technical model ∙ ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

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

Description

If specified, this property overrides XMState/PersistentTypeMapper.
☑ logical model ∙ ☑ technical model ∙ ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

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

Description

If specified, this property overrides XMState/PersistentTypeReverseMapper.
☑ logical model ∙ ☑ technical model ∙ ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMJPA/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.
☑ logical model ∙ ☑ technical model ∙ ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMJPA/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.
☑ logical model ∙ ☑ technical model ∙ ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

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

Description

Code, that is inserted directly into the generated tsm adapter implementation.
☑ logical model ∙ ☑ technical model ∙ ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

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

Description

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

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMJPA/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.
☐ logical model ∙ ☑ technical model ∙ ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMJPA/RegisterObjectRelationalMapping

Description

If true, this instance has an associated ORM which needs to be registered in the global =:-O jpa persistence.xml file.
☐ logical model ∙ ☑ technical model ∙ ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMJPA/ORMXMLProperties

Description

A XML snippet containing additional mapping properties which are inserted into the mapping file.
☑ logical model ∙ ☑ technical model ∙ ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

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

Description

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

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMTSMJPA/ElementCollection

Description

Settings for JPA ElementCollections to support types like java.util.Map and alike. In addition to column name, a column key name and the types of key and value may be required.
☑ logical model ∙ ☑ technical model ∙ ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states