Annotation Type IndexColumn


@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface IndexColumn
Describe an index column of a List Prefer the standard OrderColumn annotation
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    column name
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    index in DB start from base
    column definition, default to an appropriate integer
    boolean
    is the index nullable
  • Element Details

    • name

      String name
      column name
    • base

      int base
      index in DB start from base
      Default:
      0
    • nullable

      boolean nullable
      is the index nullable
      Default:
      true
    • columnDefinition

      String columnDefinition
      column definition, default to an appropriate integer
      Default:
      ""