Package com.ibm.jakarta.connector2.cics
Class EPIScreenRecordImpl
java.lang.Object
com.ibm.jakarta.connector2.cics.EPIScreenRecordImpl
- All Implemented Interfaces:
com.ibm.connector2.screen.IScreenable
,EPIScreenRecord
,jakarta.resource.cci.Record
,Serializable
,Cloneable
public class EPIScreenRecordImpl
extends Object
implements com.ibm.connector2.screen.IScreenable, EPIScreenRecord
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
beginBuild
(com.ibm.connector2.screen.IScreenInfo scrInf, boolean fullRefresh) void
buildField
(com.ibm.connector2.screen.IFieldData fldInfo, com.ibm.connector2.screen.IFieldAttrInfo fieldAttrs, com.ibm.connector2.screen.ITextAttrInfo textAttrs) invoked by the resource adapter to add or update a fieldclone()
void
endBuild()
boolean
getField
(int index) Returns a field at the given index.int
Returns the number of fields on the screen.This returns an iterator which can be used to access all the fields on the screen in a sequential manner.int
Return the number of rows the screen has.int
Return the number of columns on the screen.int
hashCode()
void
setRecordName
(String newName) void
setRecordShortDescription
(String newDesc) void
setScreenId
(String scrId)
-
Field Details
-
CLASS_VERSION
- See Also:
-
-
Constructor Details
-
EPIScreenRecordImpl
public EPIScreenRecordImpl()
-
-
Method Details
-
getRecordName
- Specified by:
getRecordName
in interfacejakarta.resource.cci.Record
-
setRecordName
- Specified by:
setRecordName
in interfacejakarta.resource.cci.Record
-
setRecordShortDescription
- Specified by:
setRecordShortDescription
in interfacejakarta.resource.cci.Record
-
getRecordShortDescription
- Specified by:
getRecordShortDescription
in interfacejakarta.resource.cci.Record
-
clone
- Specified by:
clone
in interfacejakarta.resource.cci.Record
- Throws:
CloneNotSupportedException
-
equals
-
getScreenId
- Specified by:
getScreenId
in interfacecom.ibm.connector2.screen.IScreenable
-
setScreenId
- Specified by:
setScreenId
in interfacecom.ibm.connector2.screen.IScreenable
-
beginBuild
public void beginBuild(com.ibm.connector2.screen.IScreenInfo scrInf, boolean fullRefresh) - Specified by:
beginBuild
in interfacecom.ibm.connector2.screen.IScreenable
-
buildField
public void buildField(com.ibm.connector2.screen.IFieldData fldInfo, com.ibm.connector2.screen.IFieldAttrInfo fieldAttrs, com.ibm.connector2.screen.ITextAttrInfo textAttrs) throws com.ibm.connector2.screen.ScreenException invoked by the resource adapter to add or update a field- Specified by:
buildField
in interfacecom.ibm.connector2.screen.IScreenable
- Throws:
com.ibm.connector2.screen.ScreenException
-
endBuild
public void endBuild()- Specified by:
endBuild
in interfacecom.ibm.connector2.screen.IScreenable
-
getFields
Description copied from interface:EPIScreenRecord
This returns an iterator which can be used to access all the fields on the screen in a sequential manner.- Specified by:
getFields
in interfaceEPIScreenRecord
- Specified by:
getFields
in interfacecom.ibm.connector2.screen.IScreenable
- Returns:
- A field iterator.
-
getModifiedFields
- Specified by:
getModifiedFields
in interfacecom.ibm.connector2.screen.IScreenable
-
getField
Description copied from interface:EPIScreenRecord
Returns a field at the given index. Range is 1 to number of fields on the screen.- Specified by:
getField
in interfaceEPIScreenRecord
- Parameters:
index
- The field index.- Returns:
- An EPI field record.
- Throws:
com.ibm.connector2.screen.ScreenException
- Throws a Screen Exception if an invalid field index is given.
-
getScreenWidth
public int getScreenWidth()Description copied from interface:EPIScreenRecord
Return the number of columns on the screen.- Specified by:
getScreenWidth
in interfaceEPIScreenRecord
- Returns:
- The screen width.
-
getScreenDepth
public int getScreenDepth()Description copied from interface:EPIScreenRecord
Return the number of rows the screen has.- Specified by:
getScreenDepth
in interfaceEPIScreenRecord
- Returns:
- The screen depth.
-
getFieldCount
public int getFieldCount()Description copied from interface:EPIScreenRecord
Returns the number of fields on the screen.- Specified by:
getFieldCount
in interfaceEPIScreenRecord
- Returns:
- Number of fields.
-
hashCode
public int hashCode()
-