CICS® Transaction Gateway Programming Reference v1.1.0.0

com.ibm.ctg.epi
Class FieldData

java.lang.Object
  extended by com.ibm.ctg.epi.FieldData
All Implemented Interfaces:
java.io.Serializable

public class FieldData
extends java.lang.Object
implements java.io.Serializable

This class contains information about a field in a BMS map.

See Also:
Serialized Form

Field Summary
 int col
          The column at which the field starts within the map.
 java.lang.String label
          The field label, or null if it is not labelled.
 int len
          The field length.
 int row
          The row at which the field starts within the map.
 
Constructor Summary
FieldData(int r, int c, int l)
          Constructs a FieldData object with the given information.
FieldData(java.lang.String n, int r, int c, int l)
          Constructs a FieldData object with the given information.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if the argument is a FieldData object equivalent to this one.
 java.lang.String toString()
          Returns a String representaion of this FieldData object.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

row

public int row
The row at which the field starts within the map.


col

public int col
The column at which the field starts within the map.


len

public int len
The field length.


label

public java.lang.String label
The field label, or null if it is not labelled.

Constructor Detail

FieldData

public FieldData(int r,
                 int c,
                 int l)
Constructs a FieldData object with the given information.

Parameters:
r - row
c - column
l - length

FieldData

public FieldData(java.lang.String n,
                 int r,
                 int c,
                 int l)
Constructs a FieldData object with the given information.

Parameters:
n - label
r - row
c - column
l - length
Method Detail

toString

public java.lang.String toString()
Returns a String representaion of this FieldData object.

Overrides:
toString in class java.lang.Object
Returns:
a String representaion of this FieldData object

equals

public boolean equals(java.lang.Object obj)
Returns true if the argument is a FieldData object equivalent to this one. Information that cannot be obtained from a Field is not checked.

Overrides:
equals in class java.lang.Object
Parameters:
obj - an Object
Returns:
true if the Object is equal to this FieldData

©Copyright IBM Corp. 1994, 2014
Legal