クラス DecimalProperty
- java.lang.Object
-
- org.iplass.mtp.entity.definition.PropertyDefinition
-
- org.iplass.mtp.entity.definition.properties.DecimalProperty
-
- すべての実装されたインタフェース:
java.io.Serializable
public class DecimalProperty extends PropertyDefinition
固定小数点を表すプロパティ定義。- 関連項目:
- 直列化された形式
-
-
フィールドの概要
-
クラスから継承されたフィールド org.iplass.mtp.entity.definition.PropertyDefinition
MULTIPLICITY_INFINITE
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 DecimalProperty()DecimalProperty(java.lang.String name)
-
メソッドの概要
修飾子とタイプ メソッド 説明 java.lang.Class<?>getJavaType()RoundingModegetRoundingMode()intgetScale()PropertyDefinitionTypegetType()enumでPropertyの型を返す。voidsetRoundingMode(RoundingMode roundingMode)voidsetScale(int scale)-
クラスから継承されたメソッド 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
-
-
-
-
メソッドの詳細
-
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()
- 定義:
getJavaTypeクラス内PropertyDefinition
-
getType
public PropertyDefinitionType getType()
クラスからコピーされた説明:PropertyDefinitionenumでPropertyの型を返す。 switch/case文で利用可能なように。- 定義:
getTypeクラス内PropertyDefinition- 戻り値:
-
-