Class EnumPropertyDescriptor
java.lang.Object
io.jmix.aitools.dataload.introspection.model.AbstractEntityPropertyDescriptor
io.jmix.aitools.dataload.introspection.model.EnumPropertyDescriptor
- All Implemented Interfaces:
EntityPropertyDescriptor
Descriptor of an enum entity property. Adds the enum class description and how its values are
stored (for example by id, name or ordinal) on top of the common property attributes.
-
Field Summary
FieldsFields inherited from class io.jmix.aitools.dataload.introspection.model.AbstractEntityPropertyDescriptor
comment, identifier, javaType, localizedNames, mandatory, name, persistent, propertyType -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.jmix.aitools.dataload.introspection.model.AbstractEntityPropertyDescriptor
getComment, getIdentifier, getJavaType, getLocalizedNames, getMandatory, getName, getPersistent, getPropertyType, toString
-
Field Details
-
enumType
-
enumStorageMode
-
-
Constructor Details
-
EnumPropertyDescriptor
-
-
Method Details
-
getEnumType
Returns the description of the enum class, including its constants.- Returns:
- enum class descriptor
-
getEnumStorageMode
Returns how the enum values are stored.- Returns:
- storage mode (for example
"ordinal"or"string"), ornullfor a JmixEnumClass
-
fieldsToString
- Overrides:
fieldsToStringin classAbstractEntityPropertyDescriptor
-