public class P2JField
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
caseSensitive
Flag for case-sensitive character fields.
|
private java.lang.String |
columnLabel
Column label.
|
private long |
extent
Extent size.
|
private java.lang.String |
format
Field format.
|
private BaseDataType |
initial
Initial field value.
|
private java.lang.String |
label
Field label.
|
private java.lang.String |
name
Field name.
|
private ParmType |
type
Field type.
|
Constructor and Description |
---|
P2JField(java.lang.String name,
ParmType type,
long extent,
java.lang.String format,
BaseDataType initial,
java.lang.String label,
java.lang.String columnLabel,
boolean caseSensitive)
Convenience constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Test equivalence of this object and the given object in a way that is consistent with the
implementation of
hashCode() . |
java.lang.String |
getColumnLabel()
Get column label.
|
long |
getExtent()
Get extent size.
|
java.lang.String |
getFormat()
Get field format.
|
BaseDataType |
getInitial()
Get initial value.
|
java.lang.String |
getLabel()
Get field label.
|
java.lang.String |
getName()
Get field name.
|
ParmType |
getType()
Get field type.
|
int |
hashCode()
Produce a hash code from the internal data of this object, which is consistent with the
implementation of
equals(Object) . |
boolean |
isCaseSensitive()
Check if this is a case sensitive field.
|
private java.lang.String name
private ParmType type
private long extent
private java.lang.String format
private BaseDataType initial
private java.lang.String label
private java.lang.String columnLabel
private boolean caseSensitive
public P2JField(java.lang.String name, ParmType type, long extent, java.lang.String format, BaseDataType initial, java.lang.String label, java.lang.String columnLabel, boolean caseSensitive)
name
- Field name.type
- Field type.extent
- Extent size.format
- Field format.initial
- Initial value.label
- Field label.columnLabel
- Column label.caseSensitive
- true
for case sensitive character fields.public java.lang.String getName()
public ParmType getType()
public long getExtent()
public java.lang.String getFormat()
public BaseDataType getInitial()
public java.lang.String getLabel()
public java.lang.String getColumnLabel()
public boolean isCaseSensitive()
true
if this is a case-sensitive character field.public int hashCode()
equals(Object)
.hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
hashCode()
.equals
in class java.lang.Object
true
if this object is equivalent with o
, else
false
.