uk.ac.leeds.ccg.andyt.projects.moses.io
Class HSARDataHandler.AgeSex

java.lang.Object
  extended by uk.ac.leeds.ccg.andyt.projects.moses.io.HSARDataHandler.AgeSex
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
HSARDataHandler

public class HSARDataHandler.AgeSex
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

A simple class for distinguishing HSARDataRecord with _HRP = true into those with the same of _AGEH, _Sex

See Also:
Serialized Form

Field Summary
protected  short _Age
          For storing _AGE
protected  boolean _Sex
          For storing the _SEX
 
Constructor Summary
HSARDataHandler.AgeSex()
           
HSARDataHandler.AgeSex(HSARDataHandler.AgeSex aAgeSex)
           
HSARDataHandler.AgeSex(HSARDataRecord aHSARDataRecord)
           
HSARDataHandler.AgeSex(short _Age, boolean _Sex)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 short get_Age()
           
 int hashCode()
           
 boolean is_Sex()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Age

protected short _Age
For storing _AGE


_Sex

protected boolean _Sex
For storing the _SEX

Constructor Detail

HSARDataHandler.AgeSex

public HSARDataHandler.AgeSex()

HSARDataHandler.AgeSex

public HSARDataHandler.AgeSex(short _Age,
                              boolean _Sex)

HSARDataHandler.AgeSex

public HSARDataHandler.AgeSex(HSARDataHandler.AgeSex aAgeSex)

HSARDataHandler.AgeSex

public HSARDataHandler.AgeSex(HSARDataRecord aHSARDataRecord)
Method Detail

get_Age

public short get_Age()

is_Sex

public boolean is_Sex()

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