Annotation Interface JmixEntity


@Target(TYPE) @Retention(RUNTIME) public @interface JmixEntity
Indicates that the annotated class is an entity and must be represented in the metadata.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    By default, all properties of the class are included in metadata.
    Name of the class in the metadata.
  • Element Details

    • name

      String name
      Name of the class in the metadata.
      Default:
      ""
    • annotatedPropertiesOnly

      boolean annotatedPropertiesOnly
      By default, all properties of the class are included in metadata. Set this attribute to true in order to include only properties explicitly annotated with JmixProperty.
      Default:
      false