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

public class MarkOutputDataRecord_1
extends AbstractCASDataRecord

A class for storing a format of data record wanted by Mark Birkin.

See Also:
Serialized Form

Field Summary
protected  int accomodationTypeDetached
           
protected  int accomodationTypeFlats
           
protected  int accomodationTypeOther
           
protected  int accomodationTypeSemiDetatched
           
protected  int accomodationTypeTerracedOrBungalow
           
protected  int age0to15
           
protected  int age16to24
           
protected  int age25to44
           
protected  int age45to64
           
protected  int age65AndOver
           
protected  int allHouseholds
           
protected  double averageCarOwnership
           
protected  int econactFullTime
           
protected  int econactPartTime
           
protected  int econactStudents
           
protected  int econactUnemployed
           
protected  int ethnicGroupAsian
           
protected  int ethnicGroupBlack
           
protected  int ethnicGroupMixed
           
protected  int ethnicGroupOther
           
protected  int ethnicGroupWhite
           
protected  int famtypeCoHabiting
           
protected  int famtypeMarried
           
protected  int famtypeSingleParent
           
protected  int llti
           
protected  int marstatMarried
           
protected  int marstatSingle
           
protected  int nssecIntermediate
           
protected  int nssecManual
           
protected  int nssecProfessional
           
protected  int nssecStudents
           
protected  int qualvewLevel1
           
protected  int qualvewLevel2
           
protected  int qualvewLevel3
           
protected  int qualvewLevel4
           
protected  int qualvewNone
           
protected  int reltohrCoHabiting
           
protected  double roomsnumAverage
           
protected  int sexFemales
           
protected  int sexMales
           
protected  int students
           
protected  int tenureOwnerOccupied
           
protected  int tenureRented
           
protected  int tranwrkOwnVehicle
           
protected  int tranwrkPublic
           
protected  int tranwrkWalk
           
 
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
MarkOutputDataRecord_1()
          Creates a new CASKS002Record
 
Method Summary
protected  void _Init()
          Initialises all fields.
 long getSizeInBytes()
          Returns the size of this CASKS2002Record in bytes as a long.
protected  void init(ISARDataRecord individualSARDataRecord)
          Initialises all fields.
 java.lang.String toString()
          Returns a string description of this;
 void write(java.io.RandomAccessFile aRandomAccessFile)
          Writes this to aRandomAccessFile at the current position.
 void write(java.io.RandomAccessFile aRandomAccessFile, boolean avoidCallToSuper)
          Writes this to aRandomAccessFile at the current position.
 
Methods inherited from class uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractCASDataRecord
equals, getZone_Code, 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

allHouseholds

protected int allHouseholds

ethnicGroupWhite

protected int ethnicGroupWhite

ethnicGroupMixed

protected int ethnicGroupMixed

ethnicGroupAsian

protected int ethnicGroupAsian

ethnicGroupBlack

protected int ethnicGroupBlack

ethnicGroupOther

protected int ethnicGroupOther

accomodationTypeDetached

protected int accomodationTypeDetached

accomodationTypeSemiDetatched

protected int accomodationTypeSemiDetatched

accomodationTypeTerracedOrBungalow

protected int accomodationTypeTerracedOrBungalow

accomodationTypeFlats

protected int accomodationTypeFlats

accomodationTypeOther

protected int accomodationTypeOther

tenureOwnerOccupied

protected int tenureOwnerOccupied

tenureRented

protected int tenureRented

econactUnemployed

protected int econactUnemployed

nssecProfessional

protected int nssecProfessional

nssecIntermediate

protected int nssecIntermediate

nssecManual

protected int nssecManual

age0to15

protected int age0to15

age16to24

protected int age16to24

age25to44

protected int age25to44

age45to64

protected int age45to64

age65AndOver

protected int age65AndOver

sexMales

protected int sexMales

sexFemales

protected int sexFemales

nssecStudents

protected int nssecStudents

students

protected int students

econactStudents

protected int econactStudents

marstatMarried

protected int marstatMarried

reltohrCoHabiting

protected int reltohrCoHabiting

marstatSingle

protected int marstatSingle

famtypeSingleParent

protected int famtypeSingleParent

famtypeMarried

protected int famtypeMarried

famtypeCoHabiting

protected int famtypeCoHabiting

llti

protected int llti

qualvewNone

protected int qualvewNone

qualvewLevel1

protected int qualvewLevel1

qualvewLevel2

protected int qualvewLevel2

qualvewLevel3

protected int qualvewLevel3

qualvewLevel4

protected int qualvewLevel4

averageCarOwnership

protected double averageCarOwnership

tranwrkPublic

protected int tranwrkPublic

tranwrkOwnVehicle

protected int tranwrkOwnVehicle

tranwrkWalk

protected int tranwrkWalk

econactPartTime

protected int econactPartTime

econactFullTime

protected int econactFullTime

roomsnumAverage

protected double roomsnumAverage
Constructor Detail

MarkOutputDataRecord_1

public MarkOutputDataRecord_1()
Creates a new CASKS002Record

Method Detail

_Init

protected void _Init()
Initialises all fields.

Overrides:
_Init in class AbstractCASDataRecord

init

protected void init(ISARDataRecord individualSARDataRecord)
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.

write

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

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

write

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

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

getSizeInBytes

public long getSizeInBytes()
Returns the size of this CASKS2002Record in bytes as a long. This does not account for serialVersionUID.

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