01: package javax.persistence;
02:
03: import java.lang.annotation.*;
04: import static java.lang.annotation.ElementType.*;
05: import static java.lang.annotation.RetentionPolicy.*;
06:
07: @Target({TYPE})
08: @Retention(RUNTIME)
09: public @interface DiscriminatorColumn {
10: String name() default "";
11:
12: boolean nullable() default false;
13:
14: String columnDefinition() default "";
15:
16: int length() default 10;
17: }
|