JDO Annotation

Order

Target: ElementType.FIELD, ElementType.METHOD
Implemented Interfaces:
Annotation

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:
JDO 2.1

Public Annotation Attributes

String column default ""
The name of the column to use for ordering the elements of the member.
Since:
JDO 2.1
Column[] columns default {}
The definition of the column(s) to use for ordering.
Since:
JDO 2.1
String mappedBy default ""
Name 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
Since:
JDO 2.1