Package com.softwaremining.wrappers
Interface ISMBean
- All Known Subinterfaces:
ISQLWrapper
- All Known Implementing Classes:
AbstractBasePersistence
,AbstractContainerBean
,AbstractCSVFile
,AbstractFile
,AbstractIndexedFile
,AbstractORContainer
,AbstractSequentialFile
,AbstractSequentialMappedFile
,AbstractSortBean
,AbstractSSABean
,BMSScreenBean
,BMSScreenInputBean
,BMSScreenOutputBean
,CachedIndexedFile
,CachedSQLWrapper
,CAIdealWrapper
,CBLBean
,CicsIndexedFile
,CicsPersistence
,CicsSequential
,CommonWorkArea
,Db400
,Db400Container
,Db400Sequential
,DBMSWrapper
,Dfhaid
,DfhMessageTable
,DMSWrapper
,Eibaid
,IDS2Wrapper
,ILEReport
,ILEScreen
,ImsDbSegment
,IndexedFile
,IndexedFileSingleProcess
,LinkedSQLWrapper
,PCBDatabase
,PCBModifiable
,PCBScreen
,QSAMFile
,QueueRecord
,RelativeFile
,ScratchPadArea
,SequentialFile
,SequentialNIOFile
,SequentialVariableMappedFile
,SQLWrapper
,SSABean
,TransactionWorkArea
,TSQueueStorageImpl
public interface ISMBean
For internal use only
representation of DAO beans - CBLBean, CBLBean, AbstractContainerBean ...
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignExemptFromMemRelease
(boolean exempt) void
assignSessionId
(Long sessionId) For internal use onlyvoid
assignValue
(String newValue) Assign a value to this DA (CBL type implementations will take care of REDEFINITIONS, OCCURS DEPENDING, Packed=Decimal fields, ...)void
Equivalent of COBOL's INITIALIZE statementboolean
boolean
void
releaseResources
(boolean forceRelease) For internal use only - memory management stuffvoid
resetStructure
(boolean resetDAOInitialValues) int
returns the size of the Stringified representation of the DAO, ie concatenation of DAO fields sizes The result is COBOL compliant - ie Packed-Decimal Fields will be contain the same binay information as COBOL.returns the Stringified representation of the DAO - concatenation of DAO fields according to the declared fields sizes.retrieveField
(int fieldNum) For internal use onlyretrieveField
(String fieldName) For internal use onlyFor internal use onlyDAO classes need to have one (and only one) field / group.Same as retrieveAsString - returns the Stringified representation of the DAO - concatenation of DAO fields according to the declared fields sizes.returns the Stringified representation of the DAO - concatenation of DAO fields according to the declared fields sizes.
-
Method Details
-
retrieveField
For internal use only- Parameters:
fieldNum
-- Returns:
-
retrieveField
For internal use only- Parameters:
fieldName
-- Returns:
-
releaseResources
void releaseResources(boolean forceRelease) For internal use only - memory management stuff- Parameters:
forceRelease
-
-
assignValue
Assign a value to this DA (CBL type implementations will take care of REDEFINITIONS, OCCURS DEPENDING, Packed=Decimal fields, ...) -
retrieveActualLength
int retrieveActualLength()returns the size of the Stringified representation of the DAO, ie concatenation of DAO fields sizes The result is COBOL compliant - ie Packed-Decimal Fields will be contain the same binay information as COBOL.- Returns:
-
retrieveAsString
String retrieveAsString()returns the Stringified representation of the DAO - concatenation of DAO fields according to the declared fields sizes. The result is COBOL compliant - ie Packed-Decimal Fields will be contain the same binay information as COBOL.- Returns:
-
stringValue
String stringValue()returns the Stringified representation of the DAO - concatenation of DAO fields according to the declared fields sizes. The result is COBOL compliant - ie Packed-Decimal Fields will be contain the same binay information as COBOL.- Returns:
-
retrieveValue
String retrieveValue()Same as retrieveAsString - returns the Stringified representation of the DAO - concatenation of DAO fields according to the declared fields sizes. The result is COBOL compliant - ie Packed-Decimal Fields will be contain the same binay information as COBOL.- Returns:
-
retrieveTopLevelField
ISMObject retrieveTopLevelField()DAO classes need to have one (and only one) field / group.
this methods retrieves the top level field / group- Returns:
-
initialize
void initialize()Equivalent of COBOL's INITIALIZE statement -
resetStructure
void resetStructure(boolean resetDAOInitialValues) -
assignSessionId
For internal use only -
retrieveSessionId
Long retrieveSessionId()For internal use only -
assignExemptFromMemRelease
void assignExemptFromMemRelease(boolean exempt) -
isExemptFromMemRelease
boolean isExemptFromMemRelease() -
isResourceAlreadyReleased
boolean isResourceAlreadyReleased()
-