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

com.attachmate.cicsbridge.j2ee.outputs
Class FieldCount

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

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

Return object that holds return code and field count for current screen.

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

Constructor Summary
FieldCount(int returnCode, int fieldCount)
          Creates a FieldCount object and sets member variables.
 
Method Summary
 int getFieldCount()
          Returns the number of fields for the given screen.
 int getReturnCode()
          Returns zero for success.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldCount

public FieldCount(int returnCode,
                  int fieldCount)
Creates a FieldCount object and sets member variables.

Parameters:
returnCode - - zero for success. For possible failure values, see the getReturnCodeMessage method.
fieldCount - - The number of fields for the given screen.
Method Detail

getReturnCode

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

Returns:
int value

getFieldCount

public int getFieldCount()
Returns the number of fields for the given screen.

Returns:
int value

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