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

com.attachmate.cicsbridge.j2ee.outputs
Class FieldValue

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

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

Return object that holds return code and field value on current screen.

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

Constructor Summary
FieldValue(int returnCode, java.lang.Object value)
          Creates a FieldValue object and sets member variables.
 
Method Summary
 int getReturnCode()
          Returns zero for success.
 java.lang.Object getValue()
          Returns the value of the specified field.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldValue

public FieldValue(int returnCode,
                  java.lang.Object value)
Creates a FieldValue object and sets member variables.

Parameters:
returnCode - - zero for success. For possible failure values, see the getReturnCodeMessage method.
value - - The returned value of the specified field.
Method Detail

getReturnCode

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

Returns:
int value

getValue

public java.lang.Object getValue()
Returns the value of the specified field.

Returns:
String value

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