Package com.softwaremining.containers
Class MDouble
java.lang.Object
com.softwaremining.containers.AbstractMutableField
com.softwaremining.containers.AbstractMutableNumeric
com.softwaremining.containers.MDouble
- All Implemented Interfaces:
AbstractDataObject,ISMDataType,ISMDouble,ISMNumeric,ISMObject
Mutable Double class
-
Field Summary
Fields inherited from class com.softwaremining.containers.AbstractMutableField
fieldSize, format -
Constructor Summary
ConstructorsConstructorDescriptionMDouble(double value) MDouble(int size, double defaultValue) MDouble(ISMBean owner, int size, BigDecimal defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionvoidassignDefaultValue(Object defaultVal) voidassignDefaultValue(String defaultVal) voidassignStringFormatted(String sValue) final voidassignSubstring(int offset, int length, String newValue) voidassignValue(Object newValue) voidassignValue(String sValue) doublefinal ObjectdoublegetValue()voidintintValue()doubleintintvoidsetValue(double value) voidsetValue(BigDecimal bdValue) Methods inherited from class com.softwaremining.containers.AbstractMutableNumeric
bigDecimalValue, getStorageString, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterThan, isGreaterThan, isGreaterThan, isGreaterThan, isGreaterThan, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessThan, isLessThan, isLessThan, isLessThan, lengthOf, retrieveAsBigDecimal, 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
-
MDouble
public MDouble(double value) -
MDouble
public MDouble(int size, double defaultValue) -
MDouble
-
MDouble
-
MDouble
-
MDouble
-
MDouble
-
MDouble
-
MDouble
-
-
Method Details
-
getValue
public double getValue() -
retrieveAsDouble
public double retrieveAsDouble()- Specified by:
retrieveAsDoublein interfaceISMDouble- Specified by:
retrieveAsDoublein interfaceISMNumeric
-
retrieveAsInt
public int retrieveAsInt() -
doubleValue
public double doubleValue()- Specified by:
doubleValuein interfaceISMDouble- Specified by:
doubleValuein interfaceISMNumeric
-
intValue
public int intValue() -
setValue
public void setValue(double value) -
setValue
-
assignDefaultValue
- Specified by:
assignDefaultValuein classAbstractMutableField
-
assignDefaultValue
-
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
-