public abstract class Field extends java.lang.Object implements FieldIF
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
description |
protected int |
length |
protected int |
number |
protected java.lang.Object |
value |
DATEFORMAT, DATEFORMAT_STRING, TIMEFORMAT, TIMEFORMAT_STRING| Constructor and Description |
|---|
Field() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Get the description of the field.
|
int |
getLength()
Get the length of the field.
|
int |
getNumber()
The running number of the field in record.
|
java.lang.Class |
getPresentationClass()
Get the presentation class.
|
java.lang.String |
getPresentationString()
Get the presentation string of the field.
|
java.lang.Object |
getValue()
Get the object of the field.
|
void |
print(java.io.PrintStream out,
java.lang.String s,
boolean append)
Print the object to the given print stream.
|
java.lang.String |
toString() |
protected int number
protected int length
protected java.lang.String description
protected java.lang.Object value
public java.lang.String getDescription()
getDescription in interface FieldIFpublic int getLength()
public int getNumber()
public java.lang.Object getValue()
public java.lang.Class getPresentationClass()
getPresentationClass in interface FieldIFpublic java.lang.String getPresentationString()
getPresentationString in interface FieldIFpublic void print(java.io.PrintStream out,
java.lang.String s,
boolean append)
out - the print stream.public java.lang.String toString()
toString in class java.lang.Object