Annotation Type Sequence
Annotation for a datastore sequence.
Maps across to the JDO2 element "sequence".
- Since:
- 2.1
- Version:
- 2.1
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe symbolic name of the datastore sequence.Strategy for the sequence. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintAllocation size for the sequence.Name of the sequence in the datastore.Vendor extensions for this sequence.Name of a factory class for generating the sequence values.intInitial value for the sequence.
-
Element Details
-
name
-
strategy
-
datastoreSequence
String datastoreSequenceName of the sequence in the datastore.- Returns:
- the name of the datastore sequence
- Default:
""
-
factoryClass
Class factoryClassName of a factory class for generating the sequence values.- Returns:
- the name of the factory class for the sequence
- Default:
void.class
-
extensions
-
initialValue
int initialValueInitial value for the sequence.- Returns:
- Initial value for the sequence
- Since:
- 3.1
- Default:
1
-
allocationSize
int allocationSizeAllocation size for the sequence.- Returns:
- Allocation size for the sequence
- Since:
- 3.1
- Default:
50
-