CICS® Transaction Gateway Programming Reference V3.1

com.ibm.ctg.epi
Class MapData

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

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

This class contains information about a BMS map

See Also:
Serialized Form

Field Summary
 int col
          the column at which the map starts
 int depth
          the map depth in rows
 int fields
          the number of fields in the map
 int labels
          the number of labelled fields in the map
 java.lang.String name
          the name of the map
 int row
          the row at which the map starts
 int width
          the map width in columns
 
Constructor Summary
MapData(int r, int c, int w, int d, int f, int l)
          Constructs a MapData object with the given information
MapData(java.lang.String n, int r, int c, int w, int d, int f, int l)
          Constructs a MapData object with the given information
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if the argument is a MapData object equivalent to this one.
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

row

public int row
the row at which the map starts

col

public int col
the column at which the map starts

width

public int width
the map width in columns

depth

public int depth
the map depth in rows

fields

public int fields
the number of fields in the map

labels

public int labels
the number of labelled fields in the map

name

public java.lang.String name
the name of the map
Constructor Detail

MapData

public MapData(int r,
               int c,
               int w,
               int d,
               int f,
               int l)
Constructs a MapData object with the given information
Parameters:
r - row
c - column
w - width in columns
d - depth in rows
f - number of fields
l - number of labelled fields

MapData

public MapData(java.lang.String n,
               int r,
               int c,
               int w,
               int d,
               int f,
               int l)
Constructs a MapData object with the given information
Parameters:
n - map name
r - row
c - column
w - width in columns
d - depth in rows
f - number of fields
l - number of labelled fields
Method Detail

equals

public boolean equals(java.lang.Object obj)
Returns true if the argument is a MapData object equivalent to this one. Information that cannot be obtained from a Screen is not checked.
Parameters:
obj - an Object
Returns:
true if the Object is equal to this MapData
Overrides:
equals in class java.lang.Object

© Copyright IBM Corp. 1994, 1999