Annotation Interface RPCFieldGetter
An annotation which can be added to a field to indicate when generating a data class serializer, that a specific
method should be used as the getter rather than either a direct field access. The field provided in this annotation
MUST BE declared in the same class that is declaring the annotated field. The value returned by the
getter must be the value that should be written into the field on the remote side. The getter method must return the
same type as the field type.
- Since:
- 4.0
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueGet the name of the method (case-sensitive) to use as the getter for a specific field.- Returns:
- the name of the getter method to use.
-