public abstract class Record extends java.lang.Object implements RecordIF
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List |
fields |
protected int |
number
The number of the record.
|
| Constructor and Description |
|---|
Record() |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(FieldIF field)
Add a field.
|
FieldIF |
getField(int number)
Get the field with the given number.
|
java.util.Iterator |
getFields()
Get all fields.
|
int |
getNumber()
The running number of the record.
|
java.lang.String |
getPresentationString()
Get the presentation string of the field.
|
void |
print(java.io.PrintStream out)
Print the object to the given print stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadObjectprotected int number
protected java.util.List fields
public int getNumber()
public java.util.Iterator getFields()
public FieldIF getField(int number)
public void addField(FieldIF field)
public java.lang.String getPresentationString()
getPresentationString in interface RecordIF