Package io.jmix.core.metamodel.model
Enum Class MetaProperty.Type
- All Implemented Interfaces:
Serializable
,Comparable<MetaProperty.Type>
,Constable
- Enclosing interface:
- MetaProperty
Property type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionReference type.Reference type.Simple value type, e.g.Reference type.Enumeration -
Method Summary
Modifier and TypeMethodDescriptionstatic MetaProperty.Type
Returns the enum constant of this class with the specified name.static MetaProperty.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATATYPE
Simple value type, e.g. String, Number -
ENUM
Enumeration -
ASSOCIATION
Reference type. Attribute of this type contains a related entity. -
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
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
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
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 nameNullPointerException
- if the argument is null
-