package de.anycook.api.views;
import org.glassfish.hk2.api.AnnotationLiteral;
import org.glassfish.jersey.message.filtering.EntityFiltering;
import java.lang.annotation.*;
/**
* @author Jan Graßegger<jan@anycook.de>
*/
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EntityFiltering
public @interface PublicView {
/**
* Factory class for creating instances of {@code PublicView} annotation.
*/
public static class Factory extends AnnotationLiteral<PublicView> implements PublicView {
private Factory() {
}
public static PublicView get() {
return new Factory();
}
}
}