Class QueueRecord
java.lang.Object
com.softwaremining.wrappers.CBLBean
com.softwaremining.wrappers.AbstractBasePersistence
com.softwaremining.sql.AbstractIndexedFile
com.softwaremining.sql.SQLWrapper
com.softwaremining.vendors.cics.CicsPersistence
com.softwaremining.vendors.cics.queue.QueueRecord
- All Implemented Interfaces:
IPersistence
,ISQLWrapper
,AbstractDataObject
,ICBLBeanNGroup
,ICBLContainer
,IFieldContainer
,ISMBean
,ISMDataType
- Direct Known Subclasses:
TSQueueStorageImpl
For use by TSQ QueueManager. the following table will be required for persistent queues (StorageType Auxilary)
CREATE TABLE CICS_QUEUE ( -- INDX_FLD_0 INTEGER NOT NULL AUTO_INCREMENT , QUEUE_NAME CHAR(255), QUEUE_TYPE CHAR(2), ITEM_NUMBER INTEGER DEFAULT -1, AUXILARY INTEGER, STORAGE_LENGTH INTEGER, SYSID INTEGER, DATA BLOB , KEY (QUEUE_NAME,QUEUE_TYPE,ITEM_NUMBER) -- , PRIMARY KEY (INDX_FLD_0) );
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class com.softwaremining.sql.SQLWrapper
connection, nativeKeys, openMode, postFixTableNameToImplicitDatabaseKey, resultSet, sequentialKeyGeneration, suppressNextReadCurrent
Fields inherited from class com.softwaremining.sql.AbstractIndexedFile
delegateDAO
Fields inherited from class com.softwaremining.wrappers.AbstractBasePersistence
fileName, ownerClassName, status
Fields inherited from class com.softwaremining.wrappers.CBLBean
EBCDIC_JIT_PD_SUPPORT_FOR_SEQ_FILES, INDEX_FOR_NON_ARRAY_VERSION_OF_FIELD, INDEX_ZERO, tmp_lengthofAssignedValue, totalRuntime_allocate, totalRuntime_calcFieldOffsets, totalRuntime_getMemoryPosition, totalRuntime_setFieldFormatted
Fields inherited from interface com.softwaremining.sql.IPersistence
ACCESS_MODE_DYNAMIC, ACCESS_MODE_RANDOM, ACCESS_MODE_SEQUENTIAL, ASCENDING_RECORD_KEY, CONDITION_TYPE_EQUALS, CONDITION_TYPE_GREATER, CONDITION_TYPE_GREATER_OR_EQUALS, CONDITION_TYPE_IGNORE, CONDITION_TYPE_IGNORE_FOR_SQL_LIKE, CONDITION_TYPE_LESS, CONDITION_TYPE_LESS_OR_EQUALS, CONDITION_TYPE_LIKE, CONDITION_TYPE_NO_CONDITION, CONDITION_TYPE_NOT_ASSIGNED, DESCENDING_RECORD_KEY, OPEN_MODE_EXTEND, OPEN_MODE_I_O, OPEN_MODE_INPUT, OPEN_MODE_NOT_OPENED, OPEN_MODE_OUTPUT, STATUS_AT_END, STATUS_DUP_KEY, STATUS_FAILED_CLOSING, STATUS_INCORRECT_READ_OF_UNOPENED_FILE, STATUS_INCORRECT_RECORDSIZE_REWRITE, STATUS_INSERT_ERR_INAPPROPRIATE_FILE, STATUS_INSERT_ERR_INVALID_KEY, STATUS_LOCK, STATUS_NOT_FOUND, STATUS_REWRITE_WITHOUT_READ, STATUS_SM_FAIL_UNKOWN_REASON, STATUS_SM_NOT_ASSIGNED, STATUS_SUCCESS, UNCERTAIN_OF_RETURN_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
final String
final String
final String
getData()
final String
final CBLInteger
final CBLInteger
final CBLGroup
final CBLGroup
final CBLGroup
protected final int
final CBLString
final String
final String
final String
final int
final String
final int
getSysid()
final String
protected void
set the default valuesprotected void
final AbstractCBLField
persistence functionsfinal void
setAuxilary
(double dValue) final void
setAuxilary
(Integer dValue) final void
setAuxilary
(String nsValue) final void
setCicsQueue
(double doubleValue) final void
setCicsQueue
(long longValue) final void
setCicsQueue
(CBLBean wrapper) final void
setCicsQueue
(String theValue) final void
setData
(double value) final void
setData
(long value) final void
final void
setDataGroup
(double doubleValue) final void
setDataGroup
(long longValue) final void
setDataGroup
(CBLBean wrapper) final void
setDataGroup
(String theValue) protected final void
setItemNumber
(double value) protected final void
setItemNumber
(long value) protected final void
setItemNumber
(Long value) protected final void
setItemNumber
(String value) final void
setQueueKey
(double doubleValue) final void
setQueueKey
(long longValue) final void
setQueueKey
(CBLBean wrapper) final void
setQueueKey
(String theValue) final void
setQueueName
(String value) final void
setQueueType
(String value) final void
setStorageLength
(double dValue) final void
setStorageLength
(Integer dValue) final void
setStorageLength
(String nsValue) final void
setSysid
(double dValue) final void
final void
Methods inherited from class com.softwaremining.vendors.cics.CicsPersistence
assignFileName, assignFileName, assignGenericRecordKeyLength, assignKeyValue, assignLength, assignLock, assignRecordKey, assignRecordKeyLength, assignRecordKeyValue, assignResponseCodeField, assignResponseCodeValue, assignTableName, assignTempStorage, assignTreatAsSQLWrapper, clearRecord, close, delete, deleteRecord, getOwningCicsService, getRecordKey, getResponse2Code, getResponseCode, insert, insertRecord, isAllowedToExpandGTEQSearches, nextRecord, prevRecord, processException, processException, processException, read, readRecord, releaseResources, resetCicsDelegate, restoreNonGenericKey, retrieveNativeKeys, seek, seek, seekRecord, seekRecord, seekRecord, setEibFunction, setStorageLength, update, updateRecord, validateConditionType
Methods inherited from class com.softwaremining.sql.SQLWrapper
_clear, _close, _commit, _deleteAllRecord, _deleteRecord, _insertRecord, _nextRecord, _open, _prevRecord, _readRecord, _readWithLock, _rollback, _seekRecord, _unlock, _updateRecord, addRecordKey, addSearchParameter, addSearchParameter, assignAdditionalKeyPosition, assignAdditionalSQLConditions, assignAdditionalSQLConditions, assignAdditionalSQLOrderBy, assignAlternateKey, assignCachedSeekValues, assignChangeGEConditonToLIKE, assignChangeGTEQ2EQForLIKECondition, assignConnection, assignDbDecorator, assignExpandGTEQSearches, assignFetchDirectionIsForward, assignFetchSize, assignFileOpened, assignGDGCondition, assignGDGProperty, assignGenerate_OrderBy_ForReadStatements, assignIgnoreOriginalKeys, assignKeyIsUnique, assignKeyValue, assignLastSeekCondition, assignLastSeekConditionLookedForEquality, assignLowerLimitForExpandGTEQSearches, assignOpenMode, assignRecordKey, assignRecordKeysAllDescending, assignRelativeKey, assignResultSet, assignResultSetFetchSize, assignRowFacade, assignSequentialKeyGeneration, assignSQLConditions, assignSQLTableName, assignSuppressSeek, assignThrowInvalidKeyException, assignTopRowSelectStrategyCount, assignTopRowSelectStrategyRange, assignUpperLimitForExpandGTEQSearches, clearSearchParameter, createAndretrieveSearchParameterInstance, isChangeGEConditonToLIKE, isChangeGTEQ2EQForLIKECondition, isFetchDirectionBackward, isFetchDirectionForward, isFileOpened, isIgnoreOriginalKeys, isKept, isKeyUnique, isLastSeekConditionLookedForEquality, isReduceGEorEQ, isSeekSuppressed, isSequentialKeyGeneration, isSuppressNextReadCurrent, readCurrent, reduceGEorEQ, releaseResources, resetRowFacade, restoreResultSet, retreiveLowerLimitForExpandGTEQSearches, retreiveUpperLimitForExpandGTEQSearches, retrieveAdditionalSearchParameters, retrieveAdditionalSQLCondition, retrieveAdditionalSQLOrderBy, retrieveAscentDescendOrder, retrieveCachedSeekValues, retrieveConnection, retrieveDbDecorator, retrieveForeignKeys, retrieveGenerate_OrderBy_ForReadStatements, retrieveImplicitDatabaseKey, retrieveLastSeekCondition, retrieveOpenMode, retrieveRecordKey, retrieveRecordKeyValue, retrieveResultSet, retrieveResultSetFetchSize, retrieveRowFacade, retrieveTableName, retrieveThrowInvalidKeyException, retrieveTopRowSelectStrategyCount, retrieveTopRowSelectStrategyStartingRow, setLock, setRelativeKey, trimCachedSeekValues, useOidTableForKeyGeneration
Methods inherited from class com.softwaremining.sql.AbstractIndexedFile
_assignKeyValue, assignAccessMode, assignDelegateDAO, assignStatus, clear, commit, deleteAllRecord, next, open, prev, readWithLock, retrieveDelegateDAO, rollback, seek, seek, seekRecord, unlock
Methods inherited from class com.softwaremining.wrappers.AbstractBasePersistence
assignStatus, assignStatusAsPrimitive, assignStatusValue, assignStatusValue, readRow, retrieveAccessMode, retrieveFileName, retrieveFileName, retrieveSessionId, retrieveStatusField, retrieveStatusValue
Methods inherited from class com.softwaremining.wrappers.CBLBean
addCorrespondingValue, addCorrespondingValue, allocate, assignAddressTo, assignAddressTo, assignBean, assignBytesEncoded, assignCachedInitializationValue, assignCorrespondingValue, assignCorrespondingValue, assignDefaultValue, assignDependingField, assignEbcdicBytes, assignEbcdicJIT_PdSupportForSequentialFiles, assignEncodedValue, assignExemptFromMemRelease, assignExternal, assignHighValues, assignInternalVars, assignLowValues, assignRawEbcdicBytes, assignRecordSize, assignRedefines, assignRedefines, assignSessionId, assignStringFormatted, assignSubstring, assignSubstring, assignToAddressOf, assignToAddressOf, assignToAddressOf, assignToAddressOf, assignToAllFields, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, assignValue, calculateStorageSize, containsPointers, equals, equals, equals, equals, equalsRightTrimmed, fieldsCount, fill, fill, fill, fill, fill, getValue, hasPackedDecimalFields, initialize, initialize, isExemptFromMemRelease, isFilled, isFilled, isFilled, isFilled, isGreaterThan, isGreaterThan, isGreaterThan, isHighValues, isInvolvedInDependency, isInvolvedInExternalDependency, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessOrEqualTo, isLessThan, isLessThan, isLessThan, isLessThan, isLessThan, isLowValues, isRedefinedByAnotherClass, isResourceAlreadyReleased, lengthOf, printFieldPosition, printFieldValues, printOrderedFieldPosition, PrintOrderedFieldPositionsAndValue, resetCachedValues, resetCompressedFieldList, resetStructure, resize, retrieveActualLength, retrieveAsInt, retrieveAsString, retrieveCachedInitializationValue, retrieveCompressedFields, retrieveDependedFieldsList, retrieveEbcdicBytes, retrieveEbcdicValue, retrieveEncodedValue, retrieveField, retrieveField, retrieveFieldAtMemoryPosition, retrieveFieldFormatted, retrieveFields, retrieveIsTargetOfPointers, retrievePrimitiveFields, retrieveRawEbcdicBytes, retrieveSQLObject, retrieveStorageCellSize, retrieveStorageChars, retrieveSubstring, retrieveSubstring, retrieveTopLevelField, retrieveValue, retrieveValue, setValue, stringValue, subtractCorrespondingValue, subtractCorrespondingValue, 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.ISMBean
assignExemptFromMemRelease, assignSessionId, assignValue, initialize, isExemptFromMemRelease, isResourceAlreadyReleased, releaseResources, resetStructure, retrieveActualLength, retrieveAsString, retrieveField, retrieveField, retrieveTopLevelField, retrieveValue, stringValue
Methods inherited from interface com.softwaremining.sql.ISQLWrapper
assignAccessMode, assignAdditionalSQLConditions, assignAdditionalSQLConditions, assignAdditionalSQLOrderBy, assignCachedSeekValues, assignChangeGEConditonToLIKE, assignChangeGTEQ2EQForLIKECondition, assignConnection, assignDbDecorator, assignDelegateDAO, assignExpandGTEQSearches, assignFetchDirectionIsForward, assignFileOpened, assignGDGCondition, assignGDGProperty, assignGenerate_OrderBy_ForReadStatements, assignIgnoreOriginalKeys, assignKeyIsUnique, assignKeyValue, assignLastSeekCondition, assignLastSeekConditionLookedForEquality, assignLowerLimitForExpandGTEQSearches, assignOpenMode, assignRecordKey, assignRecordKey, assignResultSet, assignResultSetFetchSize, assignRowFacade, assignSequentialKeyGeneration, assignSQLConditions, assignSQLTableName, assignStatus, assignStatusValue, assignSuppressSeek, assignTableName, assignThrowInvalidKeyException, assignTopRowSelectStrategyCount, assignTopRowSelectStrategyRange, assignTreatAsSQLWrapper, assignUpperLimitForExpandGTEQSearches, close, delete, insert, isAllowedToExpandGTEQSearches, isChangeGEConditonToLIKE, isChangeGTEQ2EQForLIKECondition, isFetchDirectionBackward, isFetchDirectionForward, isFileOpened, isIgnoreOriginalKeys, isKept, isKeyUnique, isLastSeekConditionLookedForEquality, isReduceGEorEQ, isSeekSuppressed, isSequentialKeyGeneration, isSuppressNextReadCurrent, next, prev, read, reduceGEorEQ, retreiveLowerLimitForExpandGTEQSearches, retreiveUpperLimitForExpandGTEQSearches, retrieveAccessMode, retrieveAdditionalSearchParameters, retrieveAdditionalSQLCondition, retrieveAdditionalSQLOrderBy, retrieveAscentDescendOrder, retrieveCachedSeekValues, retrieveConnection, retrieveDbDecorator, retrieveDelegateDAO, retrieveFileName, retrieveGenerate_OrderBy_ForReadStatements, retrieveImplicitDatabaseKey, retrieveLastSeekCondition, retrieveNativeKeys, retrieveOpenMode, retrieveRecordKey, retrieveRecordKeyValue, retrieveResultSet, retrieveResultSetFetchSize, retrieveRowFacade, retrieveSessionId, retrieveStatusValue, retrieveTableName, retrieveThrowInvalidKeyException, retrieveTopRowSelectStrategyCount, retrieveTopRowSelectStrategyStartingRow, seekRecord, seekRecord, setLock, unlock, update, useOidTableForKeyGeneration, validateConditionType
-
Field Details
-
field_QueueName
-
field_QueueType
-
field_ItemNumber
-
field_Auxilary
-
field_StorageLength
-
field_Sysid
-
field_Data
-
group_CicsQueue
-
group_QueueKey
-
group_DataGroup
-
-
Constructor Details
-
QueueRecord
Constructors
-
-
Method Details
-
initMetadata
protected void initMetadata() -
initDefaultValues
protected void initDefaultValues()set the default values- Overrides:
initDefaultValues
in classCBLBean
-
getQueueName
-
setQueueName
-
getQueueType
-
setQueueType
-
getItemNumber
protected final int getItemNumber() -
setItemNumber
-
setItemNumber
protected final void setItemNumber(long value) -
setItemNumber
protected final void setItemNumber(double value) -
setItemNumber
-
setAuxilary
public final void setAuxilary(double dValue) -
setAuxilary
-
setAuxilary
-
getAuxilaryAsStr
-
getAuxilary
public final int getAuxilary() -
setStorageLength
public final void setStorageLength(double dValue) -
setStorageLength
-
setStorageLength
-
getStorageLengthAsStr
-
getStorageLength
public final int getStorageLength() -
getFieldStorageLength
-
setSysid
public final void setSysid(double dValue) -
setSysid
-
setSysid
-
getSysidAsStr
-
getSysid
public final int getSysid() -
getFieldSysid
-
getData
-
getObjectData
-
setData
-
setData
public final void setData(long value) -
setData
public final void setData(double value) -
getCicsQueue
-
setCicsQueue
-
setCicsQueue
-
setCicsQueue
public final void setCicsQueue(long longValue) -
setCicsQueue
public final void setCicsQueue(double doubleValue) -
getGroupCicsQueue
-
getQueueKey
-
setQueueKey
-
setQueueKey
-
setQueueKey
public final void setQueueKey(long longValue) -
setQueueKey
public final void setQueueKey(double doubleValue) -
getGroupQueueKey
-
getDataGroup
-
setDataGroup
-
setDataGroup
-
setDataGroup
public final void setDataGroup(long longValue) -
setDataGroup
public final void setDataGroup(double doubleValue) -
getGroupDataGroup
-
retrieveFirstLevelEntry
persistence functions- Specified by:
retrieveFirstLevelEntry
in classAbstractBasePersistence
-