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

Description

[source]

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

Description

[source]
A list of pathes for which this class is registered as a RESTService.
  • logical model
  • technical model
  • packages
  • classes
  • pattern ends
  • attributes
  • operations
  • association ends
  • states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServicesREST/Type

Description

[source]
The type of this feature in REST requests.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServicesREST/Passing

Description

[source]
The type of parameter passing used for this feature in REST requests.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServicesREST/RequestMapping

Description

[source]
Code, that maps the REST request type of this attribute to the corresponding AD type. The REST value is passed in a variable named 'rest_value'.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMServicesREST/ResponseMapping

Description

[source]
Code, that maps the AD type of this attribute to the corresponding REST request type. The AD value is passed in a variable named 'ad_value'.
  • logical model
  • technical model
  • packages
  • classes
  • attributes
  • operations
  • association ends
  • states

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

Description

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

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

Description

[source]
Code, that is inserted in automatically generated get methods in REST 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/XMServicesREST/AfterGetBody

Description

[source]
Code, that is inserted in automatically generated get methods in REST 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/XMServicesREST/BeforeInvokeBody

Description

[source]
Code, that is inserted in automatically generated invoke methods in REST 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/XMServicesREST/AfterInvokeBody

Description

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