Class AbstractEntityPropertyDescriptor
java.lang.Object
io.jmix.aitools.dataload.introspection.model.AbstractEntityPropertyDescriptor
- All Implemented Interfaces:
EntityPropertyDescriptor
- Direct Known Subclasses:
DatatypePropertyDescriptor,EmbeddedPropertyDescriptor,EnumPropertyDescriptor,RelationPropertyDescriptor
public abstract class AbstractEntityPropertyDescriptor
extends Object
implements EntityPropertyDescriptor
Base
EntityPropertyDescriptor implementation holding the attributes common to all property kinds.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String@Nullable StringReturns the property comment.@Nullable BooleanReturns whether the property is the entity identifier.Returns the simple Java type name of the property.Returns the property captions for the configured locales.Returns whether the property is mandatory.getName()Returns the property name.Returns whether the property is persistent (stored in the database).Returns the Jmix property type (for example"datatype"or"enum").toString()
-
Field Details
-
name
-
localizedNames
-
javaType
-
propertyType
-
identifier
-
persistent
-
mandatory
-
comment
-
-
Constructor Details
-
AbstractEntityPropertyDescriptor
-
-
Method Details
-
getName
Description copied from interface:EntityPropertyDescriptorReturns the property name.- Specified by:
getNamein interfaceEntityPropertyDescriptor- Returns:
- property name
-
getLocalizedNames
Description copied from interface:EntityPropertyDescriptorReturns the property captions for the configured locales.- Specified by:
getLocalizedNamesin interfaceEntityPropertyDescriptor- Returns:
- localized property names
-
getJavaType
Description copied from interface:EntityPropertyDescriptorReturns the simple Java type name of the property.- Specified by:
getJavaTypein interfaceEntityPropertyDescriptor- Returns:
- Java type name
-
getPropertyType
Description copied from interface:EntityPropertyDescriptorReturns the Jmix property type (for example"datatype"or"enum").- Specified by:
getPropertyTypein interfaceEntityPropertyDescriptor- Returns:
- property type name
-
getIdentifier
Description copied from interface:EntityPropertyDescriptorReturns whether the property is the entity identifier.- Specified by:
getIdentifierin interfaceEntityPropertyDescriptor- Returns:
trueif the property is the primary key, ornullotherwise
-
getPersistent
Description copied from interface:EntityPropertyDescriptorReturns whether the property is persistent (stored in the database).- Specified by:
getPersistentin interfaceEntityPropertyDescriptor- Returns:
trueif the property is persistent
-
getMandatory
Description copied from interface:EntityPropertyDescriptorReturns whether the property is mandatory.- Specified by:
getMandatoryin interfaceEntityPropertyDescriptor- Returns:
trueif the property is mandatory
-
getComment
Description copied from interface:EntityPropertyDescriptorReturns the property comment.- Specified by:
getCommentin interfaceEntityPropertyDescriptor- Returns:
- comment text, or
nullif none
-
toString
-
fieldsToString
-