Services Builder for CICS(R) 3270 Bridge v2.0.0.0

com.attachmate.cicsbridge.j2ee.outputs
Class FindString

java.lang.Object
  extended bycom.attachmate.cicsbridge.j2ee.outputs.FindString
All Implemented Interfaces:
java.io.Serializable

public final class FindString
extends java.lang.Object
implements java.io.Serializable

Return object that holds return code and location string was found at on the current screen.

See Also:
BridgeAPI_EJB.findString(int, String, int, int, int), BridgeAPI_EJB.findString(String, String, int, int, int), Serialized Form

Constructor Summary
FindString(int returnCode, int row, int column)
          Creates a FindString object and sets member variables.
 
Method Summary
 int getColumn()
          Returns the column position where the string was found.
 int getReturnCode()
          Returns zero for success.
 int getRow()
          Returns the row position where the string was found.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindString

public FindString(int returnCode,
                  int row,
                  int column)
Creates a FindString object and sets member variables.

Parameters:
returnCode - - zero for success. For possible failure values, see the getReturnCodeMessage method.
row - - The cursor row position.
column - - The cursor column position.
Method Detail

getReturnCode

public int getReturnCode()
Returns zero for success. For possible failure values, see the getReturnCodeMessage method.

Returns:
int value

getRow

public int getRow()
Returns the row position where the string was found. If the string was not found, this returns a zero.

Returns:
An int value.

getColumn

public int getColumn()
Returns the column position where the string was found. If the string was not found, this returns a zero.

Returns:
An int value.

Services Builder for CICS(R) 3270 Bridge v2.0.0.0