Enum Class MetaProperty.Type

java.lang.Object
java.lang.Enum<MetaProperty.Type>
io.jmix.core.metamodel.model.MetaProperty.Type
All Implemented Interfaces:
Serializable, Comparable<MetaProperty.Type>, Constable
Enclosing interface:
MetaProperty

public static enum MetaProperty.Type extends Enum<MetaProperty.Type>
Property type
  • Enum Constant Details

    • DATATYPE

      public static final MetaProperty.Type DATATYPE
      Simple value type, e.g. String, Number
    • ENUM

      public static final MetaProperty.Type ENUM
      Enumeration
    • ASSOCIATION

      public static final MetaProperty.Type ASSOCIATION
      Reference type. Attribute of this type contains a related entity.
    • COMPOSITION

      public static final MetaProperty.Type COMPOSITION
      Reference type. Attribute of this type contains a related entity. Composition implies ownership, that is the referenced object exists only as part of the owning entity.
    • EMBEDDED

      public static final MetaProperty.Type EMBEDDED
      Reference type. Attribute of this type contains a related entity. Specifies a persistent field or property of an entity whose value is an instance of an embeddable class. The embeddable class must be annotated as Embeddable.
  • Method Details

    • values

      public static MetaProperty.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MetaProperty.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null