RestIgnore¶
-
public @interface
RestIgnore¶ The
RestIgnoreannotation 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.RestIgnoreProcessorSee also:
org.motechproject.mds.annotations.internal.RestIgnoreProcessor