|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface DatastoreIdentity
Annotation for the datastore identity of the class. Corresponds to the xml element "datastore-identity" of the "class" element.
Optional Element Summary | |
---|---|
java.lang.String |
column
Name of the column for the datastore identity |
Column[] |
columns
The column(s) making up the datastore identity. |
java.lang.String |
customStrategy
Custom strategy to use to generate the value for the identity. |
Extension[] |
extensions
Vendor extensions. |
java.lang.String |
sequence
Name of sequence to use when the strategy involves sequences |
IdGeneratorStrategy |
strategy
Strategy to use when generating datastore identities |
public abstract IdGeneratorStrategy strategy
public abstract java.lang.String customStrategy
public abstract java.lang.String sequence
public abstract java.lang.String column
public abstract Column[] columns
public abstract Extension[] extensions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |