Annotation Interface QField


@Target(FIELD) @Retention(RUNTIME) public @interface QField
Annotation to place onto fields in a QRecordEntity, to add additional attributes for propagating down into the corresponding QFieldMetaData
  • Element Details

    • label

      String label
      Default:
      ""
    • backendName

      String backendName
      Default:
      ""
    • isPrimaryKey

      boolean isPrimaryKey
      Default:
      false
    • isRequired

      boolean isRequired
      Default:
      false
    • isEditable

      boolean isEditable
      Default:
      true
    • isHidden

      boolean isHidden
      Default:
      false
    • defaultValue

      String defaultValue
      Default:
      ""
    • displayFormat

      String displayFormat
      Default:
      ""
    • possibleValueSourceName

      String possibleValueSourceName
      Default:
      ""
    • maxLength

      int maxLength
      Default:
      2147483647
    • gridColumns

      int gridColumns
      Default:
      -1
    • valueTooLongBehavior

      ValueTooLongBehavior valueTooLongBehavior
      Default:
      PASS_THROUGH
    • dynamicDefaultValueBehavior

      DynamicDefaultValueBehavior dynamicDefaultValueBehavior
      Default:
      NONE