Skip to content

Decorators

Pieter Verschaffelt edited this page Apr 21, 2019 · 1 revision

There are 6 different decorators available that can be used to annotate fields in an Entity. Each of these decorators indicates the annotated field with a different role in reading, updating or storing the entity.

Read()

This decorator can be used to annotate fields that should be retrieved from an API response.

Store()

This decorator can be used to annotate fields that should be part of the JSON-data send to the API when updating a concrete Entity.

** Under construction **

Clone this wiki locally