Package javax.jdo.annotations
Annotation Type Order
-
@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface OrderAnnotation for the ordering component of an ordered container member, such as Java Collections Framework Array and List types and Java native array types. Corresponds to the xml element "order".- Since:
- 2.1
- Version:
- 2.1
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringcolumnThe name of the column to use for ordering the elements of the member.Column[]columnsThe definition of the column(s) to use for ordering.java.lang.StringmappedByName of a field or property in the target class that acts as the ordering field or property for this member.
-
-
-
-
columns
Column[] columns
The definition of the column(s) to use for ordering.- Returns:
- the columns to use for ordering
- Default:
- {}
-
-