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 |
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
FieldData
public FieldData(int r,
int c,
int l)
- Constructs a FieldData object with the given information
- Parameters:
r
- rowc
- columnl
- length
FieldData
public FieldData(java.lang.String n,
int r,
int c,
int l)
- Constructs a FieldData object with the given information
- Parameters:
n
- labelr
- rowc
- columnl
- length
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