Package javax.jdo.annotations
Annotation Type Version
-
@Target(TYPE) @Retention(RUNTIME) public @interface VersionAnnotation for the versioning of the class. Corresponds to the xml element "version" of the "class" and "property" elements.- Since:
- 2.1
- Version:
- 2.1
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringcolumnName of the column for the version.Column[]columnsThe column(s) making up the version.java.lang.StringcustomStrategyCustom strategy for versioning of objects of this class.Extension[]extensionsVendor extensions.java.lang.StringindexedWhether the version column(s) is(are) indexed.VersionStrategystrategyStrategy for versioning of objects of this class.
-
-
-
Element Detail
-
strategy
VersionStrategy strategy
Strategy for versioning of objects of this class.- Returns:
- the strategy for versioning objects of this class
- Default:
- javax.jdo.annotations.VersionStrategy.UNSPECIFIED
-
-
-
columns
Column[] columns
The column(s) making up the version.- Returns:
- the column(s) making up the version
- Default:
- {}
-
-
-
extensions
Extension[] extensions
Vendor extensions.- Returns:
- the vendor extensions
- Default:
- {}
-
-