uk.ac.leeds.ccg.andyt.projects.moses.io
Class CASDataRecord_1

java.lang.Object
  extended by uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractDataRecord
      extended by uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractCASDataRecord
          extended by uk.ac.leeds.ccg.andyt.projects.moses.io.CASDataRecord_1
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class CASDataRecord_1
extends AbstractCASDataRecord

A class collection of the following AbstractCASDataRecords:

See Also:
CASDataHandler_GA_IPS, Serialized Form

Field Summary
protected  CAS001DataRecord _CAS001DataRecord
          CAS001DataRecord
protected  CAS003DataRecord _CAS003DataRecord
          CAS003DataRecord
protected  CAS044DataRecord _CAS044DataRecord
          CAS044DataRecord
protected  CASKS006DataRecord _CASKS006DataRecord
          CASKS006DataRecord
protected  CASKS008DataRecord _CASKS008DataRecord
          CASKS008DataRecord
 
Fields inherited from class uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractCASDataRecord
Zone_Code
 
Fields inherited from class uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractDataRecord
_RecordID
 
Constructor Summary
CASDataRecord_1()
          Creates a new CASDataRecord_1
CASDataRecord_1(CASDataHandler_GA_IPS _CASDataHandler_1, long _RecordID)
          Creates a new CASDataRecord_1
 
Method Summary
protected  void _Init()
          Initialises all fields.
 CAS001DataRecord getCAS001DataRecord()
          Returns this._CAS001DataRecord
 CAS003DataRecord getCAS003DataRecord()
          Returns this._CAS003DataRecord
 CAS044DataRecord getCAS044DataRecord()
          Returns this._CAS044DataRecord
 CASKS006DataRecord getCASKS006DataRecord()
          Returns this._CASKS006DataRecord
 CASKS008DataRecord getCASKS008DataRecord()
          Returns this._CASKS008DataRecord
 long getSizeInBytes()
          Returns the size of this CASDataRecord in bytes as a long.
 char[] getZone_Code()
          Returns a copy of this.Zone_Code
protected  void init(CASDataHandler_GA_IPS _CASDataHandler_1, long _RecordID)
          Initialises all fields.
 java.lang.String toString()
          Returns a string description of this;
 void write(java.io.RandomAccessFile _RandomAccessFile)
          Writes this to _RandomAccessFile at the current position.
 void write(java.io.RandomAccessFile _RandomAccessFile, boolean avoidCallToSuper)
          Writes this to _RandomAccessFile at the current position.
 
Methods inherited from class uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractCASDataRecord
equals, hashCode, init, toCSVString, toCSVStringFields, write
 
Methods inherited from class uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractDataRecord
_Init, compareTo, get_RecordID, getNumberOfBitsInByte
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

_CAS001DataRecord

protected CAS001DataRecord _CAS001DataRecord
CAS001DataRecord


_CAS003DataRecord

protected CAS003DataRecord _CAS003DataRecord
CAS003DataRecord


_CAS044DataRecord

protected CAS044DataRecord _CAS044DataRecord
CAS044DataRecord


_CASKS006DataRecord

protected CASKS006DataRecord _CASKS006DataRecord
CASKS006DataRecord


_CASKS008DataRecord

protected CASKS008DataRecord _CASKS008DataRecord
CASKS008DataRecord

Constructor Detail

CASDataRecord_1

public CASDataRecord_1()
Creates a new CASDataRecord_1


CASDataRecord_1

public CASDataRecord_1(CASDataHandler_GA_IPS _CASDataHandler_1,
                       long _RecordID)
Creates a new CASDataRecord_1

Method Detail

_Init

protected void _Init()
Initialises all fields.

Overrides:
_Init in class AbstractCASDataRecord

init

protected void init(CASDataHandler_GA_IPS _CASDataHandler_1,
                    long _RecordID)
Initialises all fields.


toString

public java.lang.String toString()
Returns a string description of this;

Overrides:
toString in class AbstractCASDataRecord
Returns:
A String description of this.

getSizeInBytes

public long getSizeInBytes()
Returns the size of this CASDataRecord in bytes as a long. This does not account for serialVersionUID. A boolean is assumed to be the same size as an int in bytes.

Overrides:
getSizeInBytes in class AbstractCASDataRecord
Returns:
The size (in bytes) of this as a long. This does not account for the private Fields serialVersionUID.

getCAS001DataRecord

public CAS001DataRecord getCAS001DataRecord()
Returns this._CAS001DataRecord


getCAS003DataRecord

public CAS003DataRecord getCAS003DataRecord()
Returns this._CAS003DataRecord


getCAS044DataRecord

public CAS044DataRecord getCAS044DataRecord()
Returns this._CAS044DataRecord


getCASKS006DataRecord

public CASKS006DataRecord getCASKS006DataRecord()
Returns this._CASKS006DataRecord


getCASKS008DataRecord

public CASKS008DataRecord getCASKS008DataRecord()
Returns this._CASKS008DataRecord


getZone_Code

public char[] getZone_Code()
Returns a copy of this.Zone_Code

Overrides:
getZone_Code in class AbstractCASDataRecord

write

public void write(java.io.RandomAccessFile _RandomAccessFile)
Writes this to _RandomAccessFile at the current position.

Overrides:
write in class AbstractCASDataRecord
Parameters:
_RandomAccessFile - The RandomAccessFile this is written to.
See Also:
AbstractDataRecord.write(RandomAccessFile)

write

public void write(java.io.RandomAccessFile _RandomAccessFile,
                  boolean avoidCallToSuper)
Writes this to _RandomAccessFile at the current position.

Parameters:
_RandomAccessFile - The RandomAccessFile this is written to.
avoidCallToSuper - If true super.write() is not called