uk.ac.leeds.sog.moses.agent
Class Child

java.lang.Object
  extended by uk.ac.leeds.sog.moses.agent.Person
      extended by uk.ac.leeds.sog.moses.agent.Child
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class Child
extends Person

See Also:
Serialized Form

Field Summary
protected  Person i_hrp
           
protected  int i_leftHouse
           
 
Fields inherited from class uk.ac.leeds.sog.moses.agent.Person
i_age, i_career, i_deathStatus, i_fitness, i_formalCare, i_gender, i_hasChildDependent, i_health, i_householdID, i_householdSize, i_hrpStatus, i_id, i_indSARRecID, i_intIllness, i_location, i_maritalStatus, i_numAdultDependent, i_numChildDependent, i_numElderly, i_numElderlyDependent, i_oLocation, i_pid, i_socialClass, i_wLocation
 
Constructor Summary
Child(int id)
           
 
Method Summary
 Person getHrp()
           
 int getLeftHouse()
           
 void setHrp(Person a_hrp)
           
 void setLeftHouse(int left)
           
 void step()
           
 java.lang.String toString()
           
 
Methods inherited from class uk.ac.leeds.sog.moses.agent.Person
addAge, addRole, compareTo, getAge, getCarer, getChildDependentFlag, getDeathStatus, getFitness, getFormalCare, getGender, getHealth, getHouseholdSize, getHouseID, getHrpStatus, getId, getIndSARRecID, getIntIllness, getLocation, getMaritalStatus, getNumAdultDependent, getNumChildDependent, getNumElderly, getNumElderlyDependent, getOLocation, getPid, getRoleHistory, getSocialClass, getWLocation, setAge, setCarer, setChildDependentFlag, setDeathStatus, setFitness, setFormalCare, setGender, setHealth, setHouseholdSize, setHouseID, setHrpStatus, setId, setIndSARRecID, setIntIllness, setLocation, setMaritalStatus, setNumAdultDependent, setNumChildDependent, setNumElderly, setNumElderlyDependent, setOLocation, setPid, setSocialClass, setWLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

i_hrp

protected Person i_hrp

i_leftHouse

protected int i_leftHouse
Constructor Detail

Child

public Child(int id)
Method Detail

getHrp

public Person getHrp()

setHrp

public void setHrp(Person a_hrp)

step

public void step()
Specified by:
step in class Person

getLeftHouse

public int getLeftHouse()

setLeftHouse

public void setLeftHouse(int left)

toString

public java.lang.String toString()
Overrides:
toString in class Person