javax.jdo.annotations

## Annotation Type Order

-     @Target(value={ANNOTATION_TYPE,FIELD,METHOD})
       @Retention(value=RUNTIME)
      public @interface 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 Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `column` The name of the column to use for ordering the elements of the member.
    `Column[]` | `columns` The definition of the column(s) to use for ordering.
    `Extension[]` | `extensions` Vendor extensions.
    `String` | `mappedBy` Name of a field or property in the target class that acts as the ordering field or property for this member.

- - ### Element Detail

    - #### column

          public abstract String column

      The name of the column to use for ordering the elements of the member.
      Returns:
        the name of the ordering column
      Default:
        ""

  - - #### mappedBy

          public abstract String mappedBy

      Name of a field or property in the target class that acts as the ordering field or property for this member.
      Returns:
        the name of the field or property in the target class
      Default:
        ""

  - - #### columns

          public abstract Column[] columns

      The definition of the column(s) to use for ordering.
      Returns:
        the columns to use for ordering
      Default:
        {}

  - - #### extensions

          public abstract Extension[] extensions

      Vendor extensions.
      Returns:
        the vendor extensions
      Default:
        {}

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.