01: // $Id$
02:
03: package net.sf.persist.annotations;
04:
05: import java.lang.annotation.ElementType;
06: import java.lang.annotation.Retention;
07: import java.lang.annotation.RetentionPolicy;
08: import java.lang.annotation.Target;
09:
10: /**
11: * Sets the related class to not be mapped to a table. A class with this
12: * annotation can be used to hold data from a query, but cannot be used to be
13: * inserted, updated or deleted, or read by primary keys.
14: */
15: @Retention(RetentionPolicy.RUNTIME)
16: @Target(ElementType.TYPE)
17: public @interface NoTable {
18:
19: }
|