Package com.softwaremining.containers
Class MLong
java.lang.Object
com.softwaremining.containers.AbstractMutableField
com.softwaremining.containers.AbstractMutableNumeric
com.softwaremining.containers.MLong
- All Implemented Interfaces:
AbstractDataObject
,ISMDataType
,ISMLong
,ISMNumeric
,ISMObject
Mutable Long class
-
Field Summary
Fields inherited from class com.softwaremining.containers.AbstractMutableField
fieldSize, format
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignDefaultValue
(Object defaultVal) void
assignDefaultValue
(String defaultVal) void
assignStringFormatted
(String sValue) final void
assignSubstring
(int offset, int length, String newValue) void
assignValue
(Object newValue) void
assignValue
(String sValue) double
final Object
long
getValue()
void
long
double
long
int
void
setValue
(long value) 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, stringValue
Methods 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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.softwaremining.wrappers.ISMDataType
stringValue
Methods 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, setRound
Methods inherited from interface com.softwaremining.wrappers.ISMObject
assignExcludeFromSQLTable, assignMasterSQLColumnsForArrays, assignObject, assignOverrideSQLTableName, assignString, bytesSize, fill, isExcludedFromSQLTable, isFiller, retrieveAsString, retrieveMasterSQLColumnsForArrays, retrieveName, retrieveSQLObject, retrieveSQLTableNameOverride, retrieveSubField, retrieveWrapper
-
Constructor Details
-
MLong
public MLong(long value) -
MLong
public MLong(int size, long defaultValue) -
MLong
-
MLong
-
MLong
-
MLong
-
MLong
-
MLong
-
-
Method Details
-
getValue
public long getValue() -
retrieveAsLong
public long retrieveAsLong()- Specified by:
retrieveAsLong
in interfaceISMLong
-
retrieveAsDouble
public double retrieveAsDouble()- Specified by:
retrieveAsDouble
in interfaceISMNumeric
-
longValue
public long longValue() -
doubleValue
public double doubleValue()- Specified by:
doubleValue
in interfaceISMNumeric
-
setValue
public void setValue(long value) -
assignDefaultValue
- Specified by:
assignDefaultValue
in classAbstractMutableField
-
assignDefaultValue
-
assignValue
- Specified by:
assignValue
in interfaceISMNumeric
- Specified by:
assignValue
in interfaceISMObject
- Overrides:
assignValue
in classAbstractMutableField
-
retrieveObject
- Specified by:
retrieveObject
in interfaceISMObject
-
retrieveSQLObject
- Specified by:
retrieveSQLObject
in interfaceISMDataType
- Specified by:
retrieveSQLObject
in interfaceISMObject
- Specified by:
retrieveSQLObject
in classAbstractMutableField
-
getNumber
- Specified by:
getNumber
in interfaceISMNumeric
-
retrieveAsStringFormatted
- Specified by:
retrieveAsStringFormatted
in interfaceISMObject
-
retrieveStorageCellSize
public int retrieveStorageCellSize()- Specified by:
retrieveStorageCellSize
in interfaceAbstractDataObject
- Specified by:
retrieveStorageCellSize
in interfaceISMDataType
- Specified by:
retrieveStorageCellSize
in interfaceISMObject
- Specified by:
retrieveStorageCellSize
in classAbstractMutableField
-
assignValue
- Specified by:
assignValue
in interfaceAbstractDataObject
- Specified by:
assignValue
in interfaceISMDataType
- Specified by:
assignValue
in interfaceISMObject
-
assignStringFormatted
- Specified by:
assignStringFormatted
in interfaceISMObject
-
getInitializationValue
- Specified by:
getInitializationValue
in classAbstractMutableField
-
initialize
public void initialize()- Specified by:
initialize
in interfaceISMObject
-
assignSubstring
- Specified by:
assignSubstring
in interfaceISMObject
-