|
||||||||||
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 | |
---|---|
String |
column
Name of the column for the discriminator |
Column[] |
columns
The column(s) making up the discriminator. |
String |
customStrategy
Custom strategy to use for the discriminator. |
String |
indexed
Whether the discriminator is indexed. |
DiscriminatorStrategy |
strategy
Strategy to use for the discriminator. |
String |
value
The value for the discriminator for objects of this class when using "value-map" strategy. |
public abstract DiscriminatorStrategy strategy
public abstract String customStrategy
public abstract String indexed
public abstract String column
public abstract String value
public abstract Column[] columns
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |