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

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
              extended by uk.ac.leeds.ccg.andyt.projects.moses.io.CASDataRecord_2
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class CASDataRecord_2
extends CASDataRecord

A class collection of the following AbstractCASDataRecords:

See Also:
CASDataHandler, Serialized Form

Field Summary
protected  CASKS006DataRecord _CASKS006DataRecord
          CASKS006DataRecord
 
Fields inherited from class uk.ac.leeds.ccg.andyt.projects.moses.io.CASDataRecord
tCAS001DataRecord, tCAS002DataRecord, tCAS003DataRecord, tCASKS002DataRecord, tCASKS006DataRecord, tCASKS008DataRecord, tCASKS010DataRecord, tCASKS017DataRecord, tCASKS020DataRecord, tCASKS09bDataRecord, tCASKS09cDataRecord, tCASKS12bDataRecord, tCASKS12cDataRecord, tCASKS14bDataRecord, tCASKS14cDataRecord
 
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_2()
          Creates a new CASDataRecord_2
CASDataRecord_2(CASDataHandler _CASDataHandler, long tRecordID)
          Creates a new CASDataRecord_2
 
Method Summary
protected  void _Init()
          Initialises all fields.
 CASKS006DataRecord getCASKS006DataRecord()
          Returns this._CASKS006DataRecord
 long getSizeInBytes()
          Returns the size of this CASDataRecord in bytes as a long.
protected  void init(CASDataHandler_2 _CASDataHandler_2, long _RecordID)
          Initialises all fields.
 java.lang.String toString()
          Returns a string description of this;
 
Methods inherited from class uk.ac.leeds.ccg.andyt.projects.moses.io.CASDataRecord
getCAS001DataRecord, getCAS002DataRecord, getCAS003DataRecord, getCASKS002DataRecord, getCASKS008DataRecord, getCASKS010DataRecord, getCASKS017DataRecord, getCASKS020DataRecord, getCASKS09bDataRecord, getCASKS09cDataRecord, getCASKS12bDataRecord, getCASKS12cDataRecord, getCASKS14bDataRecord, getCASKS14cDataRecord, getZone_Code, init, write, write
 
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

_CASKS006DataRecord

protected CASKS006DataRecord _CASKS006DataRecord
CASKS006DataRecord

Constructor Detail

CASDataRecord_2

public CASDataRecord_2()
Creates a new CASDataRecord_2


CASDataRecord_2

public CASDataRecord_2(CASDataHandler _CASDataHandler,
                       long tRecordID)
Creates a new CASDataRecord_2

Method Detail

_Init

protected void _Init()
Initialises all fields.

Overrides:
_Init in class CASDataRecord

init

protected void init(CASDataHandler_2 _CASDataHandler_2,
                    long _RecordID)
             throws java.io.IOException
Initialises all fields.

Throws:
java.io.IOException

toString

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

Overrides:
toString in class CASDataRecord
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 CASDataRecord
Returns:
The size (in bytes) of this as a long. This does not account for the private Fields serialVersionUID.

getCASKS006DataRecord

public CASKS006DataRecord getCASKS006DataRecord()
Returns this._CASKS006DataRecord

Overrides:
getCASKS006DataRecord in class CASDataRecord