Annotation Interface JmixProperty


@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface JmixProperty
Specifies an entity attribute if JmixEntity.annotatedPropertiesOnly() is set to true. Also, can specify additional parameters of the attribute.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether the attribute is required.
  • Element Details

    • mandatory

      boolean mandatory
      Whether the attribute is required.
      Default:
      false