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

Description

[source]

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

Description

[source]
A list of Retrievers, for which a REST resource is created.
  • logical model
  • technical model
  • packages
  • classes
  • pattern ends
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
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.
  • logical model
  • technical model
  • packages
  • classes
  • pattern ends
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
The base path used to serve the REST resources. Used as prefix in the "Path" annotation of the resource class methods.
  • logical model
  • technical model
  • packages
  • classes
  • pattern ends
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
A list of REST resources which is to be registered.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
If true, a JavaClass
ApplicationClient
is created for this core class, to be used e.g. from within REST or SOAP clients.
  • logical model
  • technical model
  • packages
  • classes
  • pattern ends
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
A list of service names for which a service adapter is created for this core class.
  • logical model
  • technical model
  • packages
  • classes
  • pattern ends
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
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
.
  • logical model
  • technical model
  • packages
  • classes
  • pattern ends
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
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.
  • logical model
  • technical model
  • packages
  • classes
  • pattern ends
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
A list of ids of Services, which will contain this feature.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
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.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
Code, that determines dynamically whether this attribute is presently changeable in the service interface, i.e. whether it can be modified by current requests.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
Code, that is inserted directly into the generated service implementations.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
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.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
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.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
Code, that is inserted in automatically generated invoke methods in service classes before the actual operation is executed.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

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

Description

[source]
Code, that is inserted in automatically generated invoke methods in service classes after the actual operation has been executed, immediately before it returns.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states