org.jpox.annotations
Annotation Type Order


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface Order

Annotation for the order of a container field. Maps across to the JDO2 element "order".

Version:
$Revision: 1.3 $

Optional Element Summary
 java.lang.String column
          The name of the column to use for the ordering column (1-N relations).
 Column[] columns
          The definition of the column(s) to use for ordering.
 java.lang.String mappedBy
          Name of a field in the target object that acts as the ordering for this Collection/List.
 

column

public abstract java.lang.String column
The name of the column to use for the ordering column (1-N relations).

Default:
""

mappedBy

public abstract java.lang.String mappedBy
Name of a field in the target object that acts as the ordering for this Collection/List.

Default:
""

columns

public abstract Column[] columns
The definition of the column(s) to use for ordering.

Default:
{}


Copyright © 2003-2008 Java Persistent Objects (JPOX). All Rights Reserved.