Class DecimalProperty
java.lang.Object
org.iplass.mtp.entity.definition.PropertyDefinition
org.iplass.mtp.entity.definition.properties.DecimalProperty
- All Implemented Interfaces:
Serializable
固定小数点を表すプロパティ定義。
- See Also:
-
Field Summary
Fields inherited from class org.iplass.mtp.entity.definition.PropertyDefinition
MULTIPLICITY_INFINITE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass
<?> int
getScale()
getType()
enumでPropertyの型を返す。 switch/case文で利用可能なように。void
setRoundingMode
(RoundingMode roundingMode) void
setScale
(int scale) Methods inherited from class org.iplass.mtp.entity.definition.PropertyDefinition
addLocalizedDisplayName, getDefaultValue, getDescription, getDisplayName, getIndexType, getLocalizedDisplayNameList, getMultiplicity, getName, getNormalizers, getValidations, isInherited, isReadOnly, isUpdatable, setDefaultValue, setDescription, setDisplayName, setIndexType, setInherited, setLocalizedDisplayNameList, setMultiplicity, setName, setNormalizers, setReadOnly, setUpdatable, setValidations
-
Constructor Details
-
DecimalProperty
public DecimalProperty() -
DecimalProperty
-
-
Method Details
-
getScale
public int getScale() -
setScale
public void setScale(int scale) -
getRoundingMode
-
setRoundingMode
-
getJavaType
- Specified by:
getJavaType
in classPropertyDefinition
-
getType
Description copied from class:PropertyDefinition
enumでPropertyの型を返す。 switch/case文で利用可能なように。- Specified by:
getType
in classPropertyDefinition
- Returns:
-