|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface Discriminator
Annotation for the discriminator of the class. Corresponds to the xml element "discriminator" of the "inheritance" element.
Optional Element Summary | |
---|---|
java.lang.String |
column
Name of the column for the discriminator |
Column[] |
columns
The column(s) making up the discriminator. |
java.lang.String |
customStrategy
Custom strategy to use for the discriminator. |
java.lang.String |
indexed
Whether the discriminator is indexed. |
DiscriminatorStrategy |
strategy
Strategy to use for the discriminator. |
java.lang.String |
value
The value for the discriminator for objects of this class when using "value-map" strategy. |
public abstract DiscriminatorStrategy strategy
public abstract java.lang.String customStrategy
public abstract java.lang.String indexed
public abstract java.lang.String column
public abstract java.lang.String value
public abstract Column[] columns
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |