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 Details

  • Constructor Details

    • EPIScreenRecordImpl

      public EPIScreenRecordImpl()
  • Method Details

    • getRecordName

      public String getRecordName()
      Specified by:
      getRecordName in interface jakarta.resource.cci.Record
    • setRecordName

      public void setRecordName(String newName)
      Specified by:
      setRecordName in interface jakarta.resource.cci.Record
    • setRecordShortDescription

      public void setRecordShortDescription(String newDesc)
      Specified by:
      setRecordShortDescription in interface jakarta.resource.cci.Record
    • getRecordShortDescription

      public String getRecordShortDescription()
      Specified by:
      getRecordShortDescription in interface jakarta.resource.cci.Record
    • clone

      public Object clone() throws CloneNotSupportedException
      Specified by:
      clone in interface jakarta.resource.cci.Record
      Throws:
      CloneNotSupportedException
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface jakarta.resource.cci.Record
      Overrides:
      equals in class Object
    • getScreenId

      public String getScreenId()
      Specified by:
      getScreenId in interface com.ibm.connector2.screen.IScreenable
    • setScreenId

      public void setScreenId(String scrId)
      Specified by:
      setScreenId in interface com.ibm.connector2.screen.IScreenable
    • beginBuild

      public void beginBuild(com.ibm.connector2.screen.IScreenInfo scrInf, boolean fullRefresh)
      Specified by:
      beginBuild in interface com.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 interface com.ibm.connector2.screen.IScreenable
      Throws:
      com.ibm.connector2.screen.ScreenException
    • endBuild

      public void endBuild()
      Specified by:
      endBuild in interface com.ibm.connector2.screen.IScreenable
    • getFields

      public Iterator 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 interface EPIScreenRecord
      Specified by:
      getFields in interface com.ibm.connector2.screen.IScreenable
      Returns:
      A field iterator.
    • getModifiedFields

      public Iterator getModifiedFields()
      Specified by:
      getModifiedFields in interface com.ibm.connector2.screen.IScreenable
    • getField

      public EPIFieldRecord getField(int index) throws com.ibm.connector2.screen.ScreenException
      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 interface EPIScreenRecord
      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 interface EPIScreenRecord
      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 interface EPIScreenRecord
      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 interface EPIScreenRecord
      Returns:
      Number of fields.
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface jakarta.resource.cci.Record
      Overrides:
      hashCode in class Object