Skip to contentPackage: NonEntity
NonEntity
Coverage
1: package cz.cvut.kbss.jopa.model.annotations.util;
2:
3: import cz.cvut.kbss.jopa.NonJPA;
4:
5: import java.lang.annotation.ElementType;
6: import java.lang.annotation.Retention;
7: import java.lang.annotation.RetentionPolicy;
8: import java.lang.annotation.Target;
9:
10: /**
11: * Indicates that the annotated type should not be considered a JOPA entity.
12: * <p>
13: * This allows to exclude classes annotated with {@link cz.cvut.kbss.jopa.model.annotations.OWLClass} from persistence.
14: */
15: @NonJPA
16: @Retention(RetentionPolicy.RUNTIME)
17: @Target(ElementType.TYPE)
18: public @interface NonEntity {
19: }