Annotation Interface Field


@Retention(RUNTIME) @Inherited @Target({FIELD,METHOD}) public @interface Field
Author:
pchretien
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Field's label.
    SmartType of the field.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    io.vertigo.core.lang.Cardinality
    Field's cardinality
    Foreign DtDefinition
    boolean
    Is the field persistent.
    Type of field.
  • Element Details

    • type

      String type
      Type of field.
      Default:
      "DATA"
    • smartType

      String smartType
      SmartType of the field.
    • cardinality

      io.vertigo.core.lang.Cardinality cardinality
      Field's cardinality
      Default:
      OPTIONAL_OR_NULLABLE
    • label

      String label
      Field's label.
    • persistent

      boolean persistent
      Is the field persistent.
      Default:
      true
    • fkDefinition

      String fkDefinition
      Foreign DtDefinition
      Default:
      ""