|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractDataRecord uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractCASDataRecord uk.ac.leeds.ccg.andyt.projects.moses.io.CASKS013DataRecord
public class CASKS013DataRecord
For representing CAS KS013 Records and providing safe access to the data.
Field Summary | |
---|---|
protected int |
_AllPeopleAged16to74
Table KS013 Qualifications and students: All people aged 16-74 NB: This table contains counts of Persons Footnotes and Comments for Table KS013 for England and Wales 1 1+ 'O' level passes, 1+ CSE/GCSE any grades, NVQ level 1, Foundation GNVQ. |
protected int |
_FullTimeStudentsAged18to74EconomicallyActiveInEmployment
|
protected int |
_FullTimeStudentsAged18to74EconomicallyActiveUnemployed
|
protected int |
_FullTimeStudentsAged18to74EconomicallyInactive
|
protected int |
_FullTimeStudentsAndSchoolchildrenAged16to17
|
protected int |
_FullTimeStudentsAndSchoolchildrenAged18to74
|
protected int |
_PeopleAged16to74WithHighestQualificationAttainedLevel1
|
protected int |
_PeopleAged16to74WithHighestQualificationAttainedLevel2
|
protected int |
_PeopleAged16to74WithHighestQualificationAttainedLevel3
|
protected int |
_PeopleAged16to74WithHighestQualificationAttainedLevel4and5
|
protected int |
_PeopleAged16to74WithNoQualifications
|
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 | |
---|---|
CASKS013DataRecord()
Creates a new CASKS013Record |
|
CASKS013DataRecord(CASKS013DataRecord aCASKS013Record)
Creates a new CASKS013Record cloned from aCASKS013Record |
|
CASKS013DataRecord(long RecordID,
java.lang.String line,
java.lang.String country)
Creates a new CASKS013DataRecord |
|
CASKS013DataRecord(java.io.RandomAccessFile aRandomAccessFile)
Creates a new CASKS013Record |
Method Summary | |
---|---|
protected void |
_Init()
Initialise. |
CASKS013DataRecord |
aggregate(CASKS013DataRecord aCASKS013DataRecord)
|
CASKS013DataRecord |
aggregate(CASKS013DataRecord aCASKS013DataRecord,
long newRecordID,
char[] newZone_Code)
|
int |
get_AllPeopleAged16to74()
Returns a copy of this._AllPeopleAged16to74 |
int |
get_FullTimeStudentsAged18to74EconomicallyActiveInEmployment()
Returns a copy of this._FullTimeStudentsAged18to74EconomicallyActiveInEmployment |
int |
get_FullTimeStudentsAged18to74EconomicallyActiveUnemployed()
Returns a copy of this._FullTimeStudentsAged18to74EconomicallyActiveUnemployed |
int |
get_FullTimeStudentsAged18to74EconomicallyInactive()
Returns a copy of this._FullTimeStudentsAged18to74EconomicallyInactive |
int |
get_FullTimeStudentsAndSchoolchildrenAged16to17()
Returns a copy of this._FullTimeStudentsAndSchoolchildrenAged16to17 |
int |
get_FullTimeStudentsAndSchoolchildrenAged18to74()
Returns a copy of this._FullTimeStudentsAndSchoolchildrenAged18to74 |
int |
get_PeopleAged16to74WithHighestQualificationAttainedLevel1()
Returns a copy of this._PeopleAged16to74WithHighestQualificationAttainedLevel1 |
int |
get_PeopleAged16to74WithHighestQualificationAttainedLevel2()
Returns a copy of this._PeopleAged16to74WithHighestQualificationAttainedLevel2 |
int |
get_PeopleAged16to74WithHighestQualificationAttainedLevel3()
Returns a copy of this._PeopleAged16to74WithHighestQualificationAttainedLevel3 |
int |
get_PeopleAged16to74WithHighestQualificationAttainedLevel4and5()
Returns a copy of this._PeopleAged16to74WithHighestQualificationAttainedLevel4and5 |
int |
get_PeopleAged16to74WithNoQualifications()
Returns a copy of this._PeopleAged16to74WithNoQualifications |
long |
getSizeInBytes()
Returns the size of this Record in bytes as a long. |
protected void |
init(CASKS013DataRecord _CASKS013Record)
Initialises all fields from those in cASKS013Record. |
protected void |
initZero()
Initialise to zero. |
java.lang.String |
toCSVString()
|
java.lang.String |
toCSVStringFields()
|
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, 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 |
---|
protected int _AllPeopleAged16to74
protected int _PeopleAged16to74WithNoQualifications
protected int _PeopleAged16to74WithHighestQualificationAttainedLevel1
protected int _PeopleAged16to74WithHighestQualificationAttainedLevel2
protected int _PeopleAged16to74WithHighestQualificationAttainedLevel3
protected int _PeopleAged16to74WithHighestQualificationAttainedLevel4and5
protected int _FullTimeStudentsAndSchoolchildrenAged16to17
protected int _FullTimeStudentsAndSchoolchildrenAged18to74
protected int _FullTimeStudentsAged18to74EconomicallyActiveInEmployment
protected int _FullTimeStudentsAged18to74EconomicallyActiveUnemployed
protected int _FullTimeStudentsAged18to74EconomicallyInactive
Constructor Detail |
---|
public CASKS013DataRecord()
public CASKS013DataRecord(CASKS013DataRecord aCASKS013Record)
aCASKS013Record
- The CASKS013Record from which this is cloned.public CASKS013DataRecord(long RecordID, java.lang.String line, java.lang.String country) throws java.io.IOException
RecordID
- The RecordID to be assigned to thisline
- The Comma Seperated Value String
java.io.IOException
public CASKS013DataRecord(java.io.RandomAccessFile aRandomAccessFile) throws java.io.IOException
aRandomAccessFile
-
java.io.IOException
Method Detail |
---|
protected void _Init()
_Init
in class AbstractCASDataRecord
protected void initZero()
protected void init(CASKS013DataRecord _CASKS013Record)
_CASKS013Record
- The CASKS013Record thats fields are used to initialise this.public java.lang.String toString()
toString
in class AbstractCASDataRecord
String
description of this.public java.lang.String toCSVString()
toCSVString
in class AbstractCASDataRecord
String
of the values
of the Fields
of this
.public java.lang.String toCSVStringFields()
toCSVStringFields
in class AbstractCASDataRecord
String
of the names
of the Fields
of this
public int get_AllPeopleAged16to74()
public int get_PeopleAged16to74WithNoQualifications()
public int get_PeopleAged16to74WithHighestQualificationAttainedLevel1()
public int get_PeopleAged16to74WithHighestQualificationAttainedLevel2()
public int get_PeopleAged16to74WithHighestQualificationAttainedLevel3()
public int get_PeopleAged16to74WithHighestQualificationAttainedLevel4and5()
public int get_FullTimeStudentsAndSchoolchildrenAged16to17()
public int get_FullTimeStudentsAndSchoolchildrenAged18to74()
public int get_FullTimeStudentsAged18to74EconomicallyActiveInEmployment()
public int get_FullTimeStudentsAged18to74EconomicallyActiveUnemployed()
public int get_FullTimeStudentsAged18to74EconomicallyInactive()
public void write(java.io.RandomAccessFile aRandomAccessFile)
this
to aRandomAccessFile
at the current
position.
write
in class AbstractCASDataRecord
aRandomAccessFile
- The RandomAccessFile
this is written to.AbstractDataRecord.write(RandomAccessFile)
public void write(java.io.RandomAccessFile aRandomAccessFile, boolean avoidCallToSuper)
this
to aRandomAccessFile
at the current
position.
aRandomAccessFile
- The RandomAccessFile
this is written to.avoidCallToSuper
- If true super.write() is not calledpublic CASKS013DataRecord aggregate(CASKS013DataRecord aCASKS013DataRecord)
aCASKS013DataRecord
- The CASKS013DataRecord
to be aggregated with
this
.
CASKS013DataRecord
where:
RecordID = this.RecordID
Zone_Code = this.Zone_Code
For aggregating
CASKS013DataRecords
. User needs to take care in
aggregating to ensure aggregation does not compromise (introduce
error) based on the numbers used (i.e. numbers may not be precise
or have sufficient magnitude).public CASKS013DataRecord aggregate(CASKS013DataRecord aCASKS013DataRecord, long newRecordID, char[] newZone_Code)
aCASKS013DataRecord
- The CASKS013DataRecord
to be aggregated with
this
.newRecordID
- The RecordID
assigned to result.newZone_Code
- The Zone_Code
assigned to result.
CASKS013DataRecord
where:
RecordID = newRecordID
Zone_Code = newZone_Code
For aggregating
CASKS013DataRecords
. User needs to take care in
aggregating to ensure aggregation does not compromise (introduce
error) based on the numbers used (i.e. numbers may not be precise
or have sufficient magnitude).public long getSizeInBytes()
getSizeInBytes
in class AbstractCASDataRecord
bytes
) of this as a long
.
This does not account for the private Fields
serialVersionUID
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |