|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface Sequence
Annotation for a datastore sequence. Maps across to the JDO2 element "sequence".
Required Element Summary | |
---|---|
String |
name
The symbolic name of the datastore sequence. |
SequenceStrategy |
strategy
Strategy for the sequence. |
Optional Element Summary | |
---|---|
int |
allocationSize
Allocation size for the sequence. |
String |
datastoreSequence
Name of the sequence in the datastore. |
Extension[] |
extensions
Vendor extensions for this sequence. |
Class |
factoryClass
Name of a factory class for generating the sequence values. |
int |
initialValue
Initial value for the sequence. |
Element Detail |
---|
public abstract String name
public abstract SequenceStrategy strategy
public abstract String datastoreSequence
public abstract Class factoryClass
public abstract Extension[] extensions
public abstract int initialValue
public abstract int allocationSize
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |