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

Description

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServices/RESTResourceRetrievers

Description

A list of Retrievers, for which a REST resource is created.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ pattern ends ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServices/RESTResourcePostProcessors

Description

If specified, this is a list of code snippets that are used to postprocess the retrieved results, which are then returned as the REST response instead of the retrieved data.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ pattern ends ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServices/RESTResourcePath

Description

The base path used to serve the REST resources. Used as prefix in the "Path" annotation of the resource class methods.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ pattern ends ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServices/RegisterAsRESTResource

Description

A list of REST resources which is to be registered.
Applies to
▸ Model level: ☐ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServices/ApplicationClient

Description

If true, a JavaClass
ApplicationClient
is created for this core class, to be used e.g. from within REST or SOAP clients.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ pattern ends ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServices/Services

Description

A list of service names for which a service adapter is created for this core class.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ pattern ends ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServices/InteractionStatePolicy

Description

Determines how state is handled in and between service calls. Besides the extremes of 'traditional everything on server' and 'nowaday modern alledgedly restful all state permanently transfered' this parameter provides faingrained control over more differentiated variants.
For possible values, see For valid values see JavaClass
InteractionStatePolicy
.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ pattern ends ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServices/ServiceInstanceProvision

Description

Determines how service instances are actually provided, in case of such provision has been determined to be necessary, depending upon the interaction state policy.
Default is to create a new instance of the service class. For singletons this defaults to retrieval of the single instance.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ pattern ends ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServices/Visibility

Description

A list of ids of Services, which will contain this feature.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☑ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServices/Retrievability

Description

Code, that determines dynamically whether this attribute is presently retrieveable in the service interface, i.e. whether it is contained in the response or can be retrieved.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServices/Changeability

Description

Code, that determines dynamically whether this attribute is presently changeable in the service interface, i.e. whether it can be modified by current requests.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☑ association ends ∙ ☐ states

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

Description

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

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

Description

Code, that is inserted in automatically generated get methods in service classes before the actual value is retrieved. If defined on class level, the code is inserted in a general get method for the whole instance (e.g., a REST GET on the instance), before any member of the AD instance is accessed.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

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

Description

Code, that is inserted in automatically generated get methods in service classes after the actual value has been retrieved, immediately before it is returned. If defined on class level, the code is inserted in a general get method for the whole instance (e.g., a REST GET on the instance), after all members of the AD instance have been retrieved, immediately before the complete result is returned.
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/XMServices/BeforeInvokeBody

Description

Code, that is inserted in automatically generated invoke methods in service classes before the actual operation 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/XMServices/AfterInvokeBody

Description

Code, that is inserted in automatically generated invoke methods in service classes after the actual operation has been executed, immediately before it returns.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☐ classes ∙ ☑ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states