CICS® Transaction Gateway Programming Reference V3.1

com.ibm.ctg.epi
Class FieldData

java.lang.Object
  |
  +--com.ibm.ctg.epi.FieldData

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
, clone, finalize, 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.
Returns:
a String representaion of this FieldData object
Overrides:
toString in class java.lang.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.
Parameters:
obj - an Object
Returns:
true if the Object is equal to this FieldData
Overrides:
equals in class java.lang.Object

© Copyright IBM Corp. 1994, 1999