RestIgnore

public @interface RestIgnore

The RestIgnore annotation is used to mark a field of entity as not exposed via REST. By default all fields (including auto-generated ones) are exposed. To ignore one of the auto-generated fields, it have to be declared in child entity and marked with this annotation.

This annotation is processed by org.motechproject.mds.annotations.internal.RestIgnoreProcessor

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