Package javax.jdo.annotations
Annotation Type Sequence
-
@Target(TYPE) @Retention(RUNTIME) public @interface SequenceAnnotation for a datastore sequence. Maps across to the JDO2 element "sequence".- Since:
- 2.1
- Version:
- 2.1
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringnameThe symbolic name of the datastore sequence.SequenceStrategystrategyStrategy for the sequence.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringdatastoreSequenceName of the sequence in the datastore.Extension[]extensionsVendor extensions for this sequence.java.lang.ClassfactoryClassName of a factory class for generating the sequence values.
-
-
-
-
strategy
SequenceStrategy strategy
Strategy for the sequence.- Returns:
- the strategy for the sequence
-
-
-
extensions
Extension[] extensions
Vendor extensions for this sequence.- Returns:
- vendor extensions
- Default:
- {}
-
-