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