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

com.attachmate.cicsbridge.j2ee.outputs
Class GetString

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

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

Return object that holds return code and string from current screen.

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

Constructor Summary
GetString(int returnCode, java.lang.String text)
          Creates a GetString object and sets member variables.
 
Method Summary
 int getReturnCode()
          Returns zero for success.
 java.lang.String getText()
          Returns the text that is retrieved.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetString

public GetString(int returnCode,
                 java.lang.String text)
Creates a GetString object and sets member variables.

Parameters:
returnCode - - zero for success. For possible failure values, see the getReturnCodeMessage method.
text - - The text that is retrieved.
Method Detail

getReturnCode

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

Returns:
int value

getText

public java.lang.String getText()
Returns the text that is retrieved.

Returns:
String value

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