Class BMSDouble
java.lang.Object
com.softwaremining.wrappers.AbstractCBLField
com.softwaremining.wrappers.AbstractCBLPrimitive
com.softwaremining.wrappers.AbstractCBLNumeric
com.softwaremining.wrappers.CBLDouble
com.softwaremining.vendors.cics.wrappers.BMSDouble
- All Implemented Interfaces:
IBMSField
,AbstractDataObject
,IFormatTypes
,ICBLContainer
,ICBLDataType
,IFieldContainer
,ISMDataType
,ISMDouble
,ISMNumeric
,ISMObject
-
Field Summary
Fields inherited from class com.softwaremining.wrappers.AbstractCBLField
format, log, NEEDS_FORMATING, readjustIndex_counter, resetWrapperOffsetCount, STRINGIFY_BEFORE_FORMATTING, totalRuntime_ACMFieldConstructor, totalRuntime_arrayUtilityReadjustIndex, totalRuntime_cachingTime, totalRuntime_getSubField, totalRuntime_getSubField_createSubField, totalRuntime_getSubField_createSubField_count, totalRuntime_getSubField_setSubFieldHelper, totalRuntime_getSubFieldHelper, totalruntime_getSubFields_b, totalRuntime_getWrapperOffset, totalRuntime_resetWrapperOffset, totalRuntime_setInternalValue, wrapperOffsetCount
Fields inherited from interface com.softwaremining.wrappers.format.IFormatTypes
COMP_MODE_COMP, COMP_MODE_COMP_1, COMP_MODE_COMP_2, COMP_MODE_COMP_3, COMP_MODE_COMP_4, COMP_MODE_COMP_5, COMP_MODE_COMP_6, COMP_MODE_COMP_7, COMP_MODE_COMP_8, COMP_MODE_COMP_MCP, COMP_MODE_COMP_X, COMP_MODE_DISPLAY, COMP_MODE_DISPLAY_SIGN_IS_LEADING, COMP_MODE_DISPLAY_SIGN_IS_SEPARATE_LEADING, COMP_MODE_DISPLAY_SIGN_IS_SEPARATE_TRAILING, COMP_MODE_DISPLAY_SIGN_IS_TRAILING, COMP_MODE_IDS_DB_KEY, COMP_MODE_NATIVE_2, COMP_MODE_NATIVE_4, COMP_MODE_NATIVE_8, COMP_MODE_REAL, COMP_MODE_UNSUPPORTED, JUSTIFIED_RIGHT_FALSE, JUSTIFIED_RIGHT_TRUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionFor internal use onlycreateSubField
(int[] index) int
returns the length of characters typed in front end.boolean
isErased()
Checks if the attribute field has modified (MDT) value.boolean
Checks if the attribute field has LOW-VALUESboolean
Checks if the number of characters typed by user is greater than 0.boolean
checks if the length-field is -1boolean
checks if attrib-A is not equal to Hex40 Valuevoid
Assigns LOW-VALUES to attribute fieldvoid
COLOR Field is only provided when BMS EXTATT=yes is specified on the original application (rare)setFocus()
Set focus on the fieldsetIntensity
(int intensity) changes intensity from default BMSField.INTENSITY_NORMAL to BMSField.INTENSITY_DARK or BMSField.INTENSITY_BRIGHT.void
setLengthTyped
(int newLen) Resets the length attrib fields to new valuesetModified
(boolean modified) Sets the isModified flag on outgoing field.setNumeric
(boolean numeric) fields are AlphaNumeric by default.setProtected
(boolean protect) fields are Unprotected / Enabled by default.setSkip
(boolean skip) This is equivalent of DISABLING an input field.Methods inherited from class com.softwaremining.wrappers.CBLDouble
equals, retrieveAsStringFormatted
Methods inherited from class com.softwaremining.wrappers.AbstractCBLNumeric
assignValue, assignValue, bigDecimalValue, bigIntegerValue, compareTo, doubleValue, equals, equals, equals, equals, equals, getAsArray, getDefaultSpecialValue, getNumber, getObject, getObjectNoLeftCut, getStorageString, getValue, intValue, intValue, isFilled, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterOrEqualTo, isGreaterThan, isGreaterThan, isGreaterThan, isGreaterThan, isGreaterThan, isGreaterThan, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessThan, isLessThan, isLessThan, isLessThan, isLessThan, isLessThan, longValue, longValue, retrieveAsBigDecimal, retrieveAsBigDecimal, retrieveAsBigDecimal, retrieveAsBigInteger, retrieveAsDouble, retrieveAsDouble, retrieveAsDouble, retrieveAsInt, retrieveAsInt, retrieveAsInt, retrieveAsInt, retrieveAsLong, retrieveAsLong, retrieveAsLong, setRound, setRound
Methods inherited from class com.softwaremining.wrappers.AbstractCBLPrimitive
bytesSize, getPicture, initialize, initialize, isGroup, pad, pad, resetDimensionByIndx, retrieveField, retrieveSQLObject, setObjectAsString
Methods inherited from class com.softwaremining.wrappers.AbstractCBLField
addDependedField, assignAddressTo, assignBean, assignBigDecimal, assignDefaultValue, assignDefaultValue, assignDependingField, assignDouble, assignExcludeFromSQLTable, assignExternal, assignGroup, assignHighValues, assignHighValues, assignInt, assignLong, assignLowValues, assignLowValues, assignMasterSQLColumnsForArrays, assignObject, assignOverrideSQLTableName, assignPointerOffset, assignRedefines, assignRedefines, assignSeparateColumn, assignSeparateTable, assignString, assignString, assignStringFormatted, assignStringFormatted, assignSubstring, assignSubstring, assignSubstring, assignSubstring, assignSubstring, assignSubstringDeprecated, assignToAddressOf, assignToAddressOf, assignToAddressOf, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValueUnFormatted, enableSizeErrDetectionOnNextOp, equals, equals, equalsRightTrimmed, fetchParentArray, fill, fill, fill, fill, fill, getAllSubFields, getArrayLength, getAsString, getCachedValue, getDefaultValue, getDependedFieldsList, getDimensions, getFormat, getMemoryPosition, getNumberOfSQLColumns, getNumOccurs, getObject, getOffsets, getParentGroup, getRedefines, getReverseRedefines, getSubFields, incrementPointerOffset, invokeSizeError, isArrayOfArrays, isBMSString, isCachable, isCachedArrayLengthActual, isCacheStateOK, isEmpty, isEqualToAll, isExcludedFromSQLTable, isFilled, isFilled, isFilled, isFiller, isGreaterOrEqualTo, isGreaterThan, isGreaterThan, isGreaterThan, isHighValues, isLessOrEqualTo, isLessThan, isLowValues, isSeparateColumns, isSeparateTable, isSpaces, isSubField, isUsedInRedefines, isZeros, lengthOf, onSizeError, printDetailAndValue, printDetails, redefinesAnotherField, resetCachedValue, retrieveAsString, retrieveAsString, retrieveAsStringFormatted, retrieveMasterSQLColumnsForArrays, retrieveName, retrieveObject, retrieveSQLObject, retrieveSQLTableNameOverride, retrieveStorageCellSize, retrieveStorageChars, retrieveStorageChars, retrieveSubField, retrieveSubstring, retrieveSubstring, retrieveWrapper, setBlankWhenZero, setCachedValue, setHighValues, setHighValues, setLowValues, setLowValues, setNumberOfSQLColumns, setNumOccurs, setOmitted, setParentGroup, setSeparateColumn, setSeparateTable, setSubstring, setSubstring, setSubstring, setSubstring, setWrapper, stringValue, toEbcdic, 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.ISMDouble
doubleValue, retrieveAsDouble
Methods inherited from interface com.softwaremining.wrappers.ISMNumeric
assignValue, getFormat, getNumber, 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, assignStringFormatted, assignSubstring, assignValue, bytesSize, fill, initialize, isExcludedFromSQLTable, isFiller, retrieveAsString, retrieveMasterSQLColumnsForArrays, retrieveName, retrieveObject, retrieveSQLObject, retrieveSQLObject, retrieveSQLTableNameOverride, retrieveStorageCellSize, retrieveSubField, retrieveWrapper
-
Constructor Details
-
BMSDouble
-
BMSDouble
-
BMSDouble
-
BMSDouble
-
BMSDouble
-
-
Method Details
-
createSubField
- Overrides:
createSubField
in classCBLDouble
-
setIntensity
Description copied from interface:IBMSField
changes intensity from default BMSField.INTENSITY_NORMAL to BMSField.INTENSITY_DARK or BMSField.INTENSITY_BRIGHT.- Specified by:
setIntensity
in interfaceIBMSField
-
setNumeric
fields are AlphaNumeric by default. NOTE: Setting this to true or false will force the field UN-PROTECTED, and disables the SKIP attribute- Specified by:
setNumeric
in interfaceIBMSField
- Parameters:
numeric
-- Returns:
-
setProtected
fields are Unprotected / Enabled by default.- Specified by:
setProtected
in interfaceIBMSField
- Parameters:
numeric
-- Returns:
-
setSkip
Description copied from interface:IBMSField
This is equivalent of DISABLING an input field. The cursor will not stop at fields marked as SKIP -
setModified
Description copied from interface:IBMSField
Sets the isModified flag on outgoing field. (value of field.isModifiedByFrontEnd() will not have been changed) CICS RECEIVE will only report values which have been altered since previous SEND. E.g. after a Receive statement, bufferI.xyzI will contain NULL values if the on-screen value of XYZ is not changed between SEND and RECEIVE. using bufferI.ObjectxyzI.SetModified(true) will ensure the ON-SCREEN value is returned irrespective of whether it had been modified or not.- Specified by:
setModified
in interfaceIBMSField
- Parameters:
modified
-- Returns:
-
setFocus
Description copied from interface:IBMSField
Set focus on the field -
getLengthTyped
public int getLengthTyped()Description copied from interface:IBMSField
returns the length of characters typed in front end. E.g. if the field has been defined as 20 chars, but user has only typed "ABC" - then value 3 will be returned.- Specified by:
getLengthTyped
in interfaceIBMSField
-
setLengthTyped
public void setLengthTyped(int newLen) Description copied from interface:IBMSField
Resets the length attrib fields to new value- Specified by:
setLengthTyped
in interfaceIBMSField
-
isInputValid
public boolean isInputValid()Description copied from interface:IBMSField
checks if the length-field is -1- Specified by:
isInputValid
in interfaceIBMSField
- Returns:
-
isModified
public boolean isModified()checks if attrib-A is not equal to Hex40 Value- Specified by:
isModified
in interfaceIBMSField
-
isInputAvailable
public boolean isInputAvailable()Checks if the number of characters typed by user is greater than 0.
ie if L-Field has greater than 0 characters.- Specified by:
isInputAvailable
in interfaceIBMSField
- Returns:
-
isErased
public boolean isErased()Checks if the attribute field has modified (MDT) value. -
isErased2
public boolean isErased2()Checks if the attribute field has LOW-VALUES -
resetAttributes
public void resetAttributes()Assigns LOW-VALUES to attribute field- Specified by:
resetAttributes
in interfaceIBMSField
-
createBlank
For internal use only- Overrides:
createBlank
in classAbstractCBLNumeric
- Returns:
-
setColor
COLOR Field is only provided when BMS EXTATT=yes is specified on the original application (rare)
-