Annotation Interface Index


@Target({TYPE,FIELD}) @Retention(RUNTIME) public @interface Index
User: Stephan Bösebeck Date: 20.06.12 Time: 10:16

define the indices to be ensured when the corresponding collection is created when morphium.ensureIndicesFor can be used with a field like:

  • Element Details

    • decrement

      boolean decrement
      Default:
      false
    • value

      String[] value
      Default:
      {}
    • options

      String[] options
      Default:
      {}
    • locale

      String locale
      Default:
      ""
    • caseLevel

      boolean caseLevel
      Default:
      false
    • caseFirst

      Default:
      OFF
    • strength

      Default:
      TERTIARY
    • numericOrdering

      boolean numericOrdering
      Default:
      false
    • alternate

      Default:
      NON_IGNORABLE
    • maxVariable

      Default:
      SPACE
    • backwards

      boolean backwards
      Default:
      false