Package com.softwaremining.containers
Class MByte
java.lang.Object
com.softwaremining.containers.AbstractMutableField
com.softwaremining.containers.MByte
- All Implemented Interfaces:
AbstractDataObject
,ISMDataType
,ISMObject
,ISMString
Mutable String class - simple container for Strings
-
Field Summary
Fields inherited from class com.softwaremining.containers.AbstractMutableField
fieldSize, format
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignDefaultValue
(String defaultVal) void
assignStringFormatted
(String sValue) void
assignSubstring
(int offset, int length, String newValue) void
assignValue
(Object _newValue) method used internally - it adjusts the size of newValue to correct lengthvoid
assignValue
(String value) boolean
boolean
boolean
equalsRightTrimmed
(String theVal) used for test of equality in 88 level Constantsvoid
final Object
byte[]
getValue()
void
boolean
final boolean
int
lengthOf()
int
retrieveSubstring
(int offset) retrieveSubstring
(int offset, int length) void
setBytes
(byte[] value) void
setValue
(byte[] _newValue) 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.ISMObject
assignExcludeFromSQLTable, assignMasterSQLColumnsForArrays, assignObject, assignOverrideSQLTableName, assignString, bytesSize, isExcludedFromSQLTable, isFiller, retrieveMasterSQLColumnsForArrays, retrieveName, retrieveSQLObject, retrieveSQLTableNameOverride, retrieveSubField, retrieveWrapper
-
Constructor Details
-
MByte
public MByte() -
MByte
-
MByte
-
-
Method Details
-
getValue
public byte[] getValue() -
setBytes
public void setBytes(byte[] value) -
assignDefaultValue
- Specified by:
assignDefaultValue
in classAbstractMutableField
-
assignValue
- Specified by:
assignValue
in interfaceAbstractDataObject
- Specified by:
assignValue
in interfaceISMDataType
- Specified by:
assignValue
in interfaceISMObject
-
setValue
public void setValue(byte[] _newValue) -
assignValue
method used internally - it adjusts the size of newValue to correct length- Specified by:
assignValue
in interfaceISMObject
- Specified by:
assignValue
in interfaceISMString
- 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
-
retrieveAsStringFormatted
- Specified by:
retrieveAsStringFormatted
in interfaceISMObject
-
stringValue
- Specified by:
stringValue
in interfaceISMDataType
- Specified by:
stringValue
in interfaceISMString
-
retrieveAsString
- Specified by:
retrieveAsString
in interfaceAbstractDataObject
- Specified by:
retrieveAsString
in interfaceISMDataType
- Specified by:
retrieveAsString
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
-
assignStringFormatted
- Specified by:
assignStringFormatted
in interfaceISMObject
-
getInitializationValue
- Specified by:
getInitializationValue
in classAbstractMutableField
-
initialize
public void initialize()- Specified by:
initialize
in interfaceISMObject
-
equals
-
equals
-
isJustifiedRight
public final boolean isJustifiedRight()- Specified by:
isJustifiedRight
in interfaceISMString
-
isFilled
-
equalsRightTrimmed
used for test of equality in 88 level Constants- Specified by:
equalsRightTrimmed
in interfaceISMString
-
lengthOf
public int lengthOf() -
assignSubstring
- Specified by:
assignSubstring
in interfaceISMObject
- Specified by:
assignSubstring
in interfaceISMString
-
retrieveSubstring
- Specified by:
retrieveSubstring
in interfaceISMString
-
retrieveSubstring
- Specified by:
retrieveSubstring
in interfaceISMString
-
fill
-