uk.ac.leeds.ccg.andyt.projects.moses.io
Class ISARDataHandler.AgeSexType
java.lang.Object
uk.ac.leeds.ccg.andyt.projects.moses.io.ISARDataHandler.AgeSexType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
- Enclosing class:
- ISARDataHandler
public class ISARDataHandler.AgeSexType
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable
A simple class for distinguishing ISARDataRecords into those with the
same of Age, Sex and Type characteristics where Type can be either:
RELTOHR = 1 for HRP
RELTOHR = -9 for Communal Establishment Populations
RELTOHR = other for general household person
- See Also:
- Serialized Form
Field Summary |
protected short |
_Age
For storing _AGE |
protected boolean |
_Sex
For storing the _SEX |
protected short |
_Type
For storing Type |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
_Age
protected short _Age
- For storing _AGE
_Sex
protected boolean _Sex
- For storing the _SEX
_Type
protected short _Type
- For storing Type
ISARDataHandler.AgeSexType
public ISARDataHandler.AgeSexType()
ISARDataHandler.AgeSexType
public ISARDataHandler.AgeSexType(short _Age,
boolean _Sex,
short _Type)
ISARDataHandler.AgeSexType
public ISARDataHandler.AgeSexType(ISARDataHandler.AgeSexType aAgeSexType)
ISARDataHandler.AgeSexType
public ISARDataHandler.AgeSexType(ISARDataRecord aISARDataRecord)
get_Age
public short get_Age()
is_Sex
public boolean is_Sex()
get_Type
public short get_Type()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable