public class Dataset extends java.lang.Object implements DatasetIF
Modifier and Type | Field and Description |
---|---|
protected int |
id |
protected java.lang.String |
name |
protected java.lang.String |
owner |
protected java.util.List |
records |
protected java.util.Date |
revision |
protected static java.lang.String |
SPACE |
protected java.lang.String |
status |
CHANNEL_TABLE, COORDINATE_SYSTEMS, DATA_AT_NODES, DATASET_58_QUALIFIERS, DATASET_END, DATASET_START, DATEFORMAT, FUNCTION_AT_NODAL_DOF, HEADER, MEASUREMENT_OVERALL_SETUP, MODEL_HEADER, NODES, NODES_DOUBLE_PRECISION, ORDER_TRACK_OVERALL_SETUP, TRACE_LINES, TRACELINES, TRANSDUCER, UNITS, VIRTUAL_CHANNEL_TABLE
Constructor and Description |
---|
Dataset() |
Modifier and Type | Method and Description |
---|---|
void |
addRecord(RecordIF record)
Add a record.
|
int |
getID()
Get the id of the dataset.
|
java.lang.String |
getName()
Get the name of the dataset.
|
java.lang.String |
getOwner()
Get the owner of the dataset.
|
RecordIF |
getRecord(int number)
Get the record with the given number.
|
java.util.Iterator |
getRecords()
Get all records.
|
java.util.Date |
getRevision()
Get the revision date of the dataset.
|
java.lang.String |
getStatus()
Get the status string of the dataset
|
void |
print(java.io.PrintStream out)
Print the object to the given print stream.
|
void |
readObject(java.io.BufferedReader reader)
Read object
|
protected static final java.lang.String SPACE
protected int id
protected java.lang.String name
protected java.util.Date revision
protected java.lang.String owner
protected java.lang.String status
protected java.util.List records
public int getID()
public java.lang.String getName()
public java.util.Date getRevision()
getRevision
in interface DatasetIF
public java.lang.String getOwner()
public java.lang.String getStatus()
public java.util.Iterator getRecords()
getRecords
in interface DatasetIF
public RecordIF getRecord(int number)
public void addRecord(RecordIF record)
record.
- public void readObject(java.io.BufferedReader reader) throws java.io.IOException
readObject
in interface DatasetIF
reader
- a buffered reader.java.io.IOException