Package javax.jdo.annotations
Annotation Type Order
Annotation 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 ElementsModifier and TypeOptional ElementDescriptionThe name of the column to use for ordering the elements of the member.Column[]
The definition of the column(s) to use for ordering.Name of a field or property in the target class that acts as the ordering field or property for this member.
-
Element Details
-
column
String columnThe name of the column to use for ordering the elements of the member.- Returns:
- the name of the ordering column
- Default:
""
-
mappedBy
String mappedByName of a field or property in the target class that acts as the ordering field or property for this member. Return the name of the field or property in the target class- Default:
""
-
columns
Column[] columnsThe definition of the column(s) to use for ordering.- Returns:
- the columns to use for ordering
- Default:
{}
-