Package com.softwaremining.containers
Class MBigDecimal
java.lang.Object
com.softwaremining.containers.AbstractMutableField
com.softwaremining.containers.AbstractMutableNumeric
com.softwaremining.containers.MBigDecimal
- All Implemented Interfaces:
AbstractDataObject,ISMDataType,ISMDouble,ISMNumeric,ISMObject
-
Field Summary
Fields inherited from class com.softwaremining.containers.AbstractMutableField
fieldSize, format -
Constructor Summary
ConstructorsConstructorDescriptionMBigDecimal(int size, double defaultValue) MBigDecimal(ISMBean owner, int size, double defaultValue) MBigDecimal(ISMBean owner, int size, BigDecimal defaultValue) MBigDecimal(ISMBean owner, int size, BigDecimal defaultValue, String picture) MBigDecimal(ISMBean owner, String name, int size, double defaultValue, String picture) MBigDecimal(ISMBean owner, String name, int size, long defaultValue) MBigDecimal(ISMBean owner, String name, int size, long defaultValue, String picture, int compMode) MBigDecimal(ISMBean owner, String name, int size, BigDecimal defaultValue, String picture) MBigDecimal(ISMBean owner, String name, int size, BigDecimal defaultValue, String picture, int compMode) -
Method Summary
Modifier and TypeMethodDescriptionvoidassignDefaultValue(String defaultVal) voidassignStringFormatted(String sValue) final voidassignSubstring(int offset, int length, String newValue) voidassignValue(Object newValue) voidassignValue(String sValue) doublefinal ObjectgetValue()voidintintValue()doubleintintvoidsetValue(double value) voidsetValue(BigDecimal value) Methods inherited from class com.softwaremining.containers.AbstractMutableNumeric
getStorageString, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterThan, isGreaterThan, isGreaterThan, isGreaterThan, isGreaterThan, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessThan, isLessThan, isLessThan, isLessThan, lengthOf, retrieveAsString, setRound, setRound, stringValueMethods inherited from class com.softwaremining.containers.AbstractMutableField
assignBigDecimal, assignDouble, assignExcludeFromSQLTable, assignLong, assignMasterSQLColumnsForArrays, assignObject, assignOverrideSQLTableName, assignString, bytesSize, fill, getFormat, getPicture, isExcludedFromSQLTable, isFiller, isGreaterOrEqualTo, isGreaterThan, isLessOrEqualTo, isLessThan, retrieveMasterSQLColumnsForArrays, retrieveName, retrieveSQLObject, retrieveSQLTableNameOverride, retrieveSubField, retrieveWrapper, setFormat, setName, setOwner, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.softwaremining.wrappers.ISMDataType
stringValueMethods inherited from interface com.softwaremining.wrappers.ISMNumeric
getFormat, getStorageString, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterThan, isGreaterThan, isGreaterThan, isGreaterThan, isGreaterThan, isGreaterThan, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessThan, isLessThan, isLessThan, isLessThan, isLessThan, lengthOf, setRoundMethods inherited from interface com.softwaremining.wrappers.ISMObject
assignExcludeFromSQLTable, assignMasterSQLColumnsForArrays, assignObject, assignString, bytesSize, fill, isExcludedFromSQLTable, isFiller, retrieveAsString, retrieveMasterSQLColumnsForArrays, retrieveName, retrieveSQLObject, retrieveSubField, retrieveWrapper
-
Constructor Details
-
MBigDecimal
public MBigDecimal(int size, double defaultValue) -
MBigDecimal
-
MBigDecimal
-
MBigDecimal
-
MBigDecimal
-
MBigDecimal
-
MBigDecimal
-
MBigDecimal
-
MBigDecimal
public MBigDecimal(ISMBean owner, String name, int size, BigDecimal defaultValue, String picture, int compMode)
-
-
Method Details
-
getValue
-
retrieveAsBigDecimal
- Overrides:
retrieveAsBigDecimalin classAbstractMutableNumeric
-
bigDecimalValue
- Overrides:
bigDecimalValuein classAbstractMutableNumeric
-
retrieveAsDouble
public double retrieveAsDouble()- Specified by:
retrieveAsDoublein interfaceISMDouble- Specified by:
retrieveAsDoublein interfaceISMNumeric
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein interfaceISMDouble- Specified by:
doubleValuein interfaceISMNumeric
-
retrieveAsInt
public int retrieveAsInt() -
intValue
public int intValue() -
setValue
public void setValue(double value) -
setValue
-
assignDefaultValue
- Specified by:
assignDefaultValuein classAbstractMutableField
-
assignValue
- Specified by:
assignValuein interfaceISMNumeric- Specified by:
assignValuein interfaceISMObject- Overrides:
assignValuein classAbstractMutableField
-
retrieveObject
- Specified by:
retrieveObjectin interfaceISMObject
-
retrieveSQLObject
- Specified by:
retrieveSQLObjectin interfaceISMDataType- Specified by:
retrieveSQLObjectin interfaceISMObject- Specified by:
retrieveSQLObjectin classAbstractMutableField
-
getNumber
- Specified by:
getNumberin interfaceISMNumeric
-
retrieveAsStringFormatted
- Specified by:
retrieveAsStringFormattedin interfaceISMObject
-
retrieveStorageCellSize
public int retrieveStorageCellSize()- Specified by:
retrieveStorageCellSizein interfaceAbstractDataObject- Specified by:
retrieveStorageCellSizein interfaceISMDataType- Specified by:
retrieveStorageCellSizein interfaceISMObject- Specified by:
retrieveStorageCellSizein classAbstractMutableField
-
assignValue
- Specified by:
assignValuein interfaceAbstractDataObject- Specified by:
assignValuein interfaceISMDataType- Specified by:
assignValuein interfaceISMObject
-
assignStringFormatted
- Specified by:
assignStringFormattedin interfaceISMObject
-
getInitializationValue
- Specified by:
getInitializationValuein classAbstractMutableField
-
initialize
public void initialize()- Specified by:
initializein interfaceISMObject
-
assignSubstring
- Specified by:
assignSubstringin interfaceISMObject
-