CICS® Transaction Gateway Base API Programming Reference v8.1.0.2

com.ibm.ctg.epi
Class MapData

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

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

This class contains information about a BMS map.


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
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.

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

©Copyright IBM Corp. 1994, 2012
Legal