@Retention(value=RUNTIME) @Target(value=FIELD) public @interface ExtendedOutput
ContentHolder
.
Include
list options are used to customize the serialized record content.
Warning, this annotation is considered only in the scope of the REST Toolkit framework.
Example of use:
public class CityDTO {
@ExtendedOutput(Include.ALL)
public ContentHolder city;
@ExtendedOutput({Include.META,Include.LABEL})
public ContentHolder department;
}
public abstract Include[] value