Package io.jmix.dynattr.impl
Class CommonAttributeDefinition
java.lang.Object
io.jmix.dynattr.impl.CommonAttributeDefinition
- All Implemented Interfaces:
AttributeDefinition
,Serializable
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Nested classes/interfaces inherited from interface io.jmix.dynattr.AttributeDefinition
AttributeDefinition.Configuration
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CategoryAttribute
protected final AttributeDefinition.Configuration
protected final DynAttrMetaProperty
-
Constructor Summary
ConstructorDescriptionCommonAttributeDefinition
(CategoryAttribute attribute, DynAttrMetaProperty metaProperty) -
Method Summary
-
Field Details
-
attribute
-
configuration
-
metaProperty
-
-
Constructor Details
-
CommonAttributeDefinition
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceAttributeDefinition
-
getMetaProperty
- Specified by:
getMetaProperty
in interfaceAttributeDefinition
-
getCode
- Specified by:
getCode
in interfaceAttributeDefinition
-
getName
- Specified by:
getName
in interfaceAttributeDefinition
-
getDescription
- Specified by:
getDescription
in interfaceAttributeDefinition
-
getDataType
- Specified by:
getDataType
in interfaceAttributeDefinition
-
getJavaType
- Specified by:
getJavaType
in interfaceAttributeDefinition
-
isCollection
public boolean isCollection()- Specified by:
isCollection
in interfaceAttributeDefinition
-
getEnumeration
- Specified by:
getEnumeration
in interfaceAttributeDefinition
-
getDefaultValue
- Specified by:
getDefaultValue
in interfaceAttributeDefinition
-
isDefaultDateCurrent
public boolean isDefaultDateCurrent()- Specified by:
isDefaultDateCurrent
in interfaceAttributeDefinition
-
getOrderNo
public int getOrderNo()- Specified by:
getOrderNo
in interfaceAttributeDefinition
-
getNameMsgBundle
- Specified by:
getNameMsgBundle
in interfaceAttributeDefinition
-
getDescriptionsMsgBundle
- Specified by:
getDescriptionsMsgBundle
in interfaceAttributeDefinition
-
getEnumerationMsgBundle
- Specified by:
getEnumerationMsgBundle
in interfaceAttributeDefinition
-
getConfiguration
- Specified by:
getConfiguration
in interfaceAttributeDefinition
-
getSource
- Specified by:
getSource
in interfaceAttributeDefinition
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnly
in interfaceAttributeDefinition
-
isRequired
public boolean isRequired()- Specified by:
isRequired
in interfaceAttributeDefinition
-