Field

public @interface Field

The Field annotation is used to point fields, that should be mapped as entity fields. The discovery logic for this annotation is done in org.motechproject.mds.annotations.internal.FieldProcessor.

Only fields, ‘getter’ or ‘setter’ methods can have this annotation for other methods this annotation is omitted.

See also: org.motechproject.mds.annotations.internal.FieldProcessor