uk.ac.leeds.ccg.andyt.projects.genesis.society.persons
Class Person

java.lang.Object
  extended by uk.ac.leeds.ccg.andyt.projects.genesis.society.persons.Person
Direct Known Subclasses:
Female, Male

public abstract class Person
extends java.lang.Object

This is a class for an individual human.


Field Summary
 java.util.Calendar _Calendar_Birth
           
 Environment _Environment
           
 Family _Family
           
 double _Fertility
           
 Household _Household
           
 java.lang.Object _HouseholdHistory
           
 java.lang.Object _ID
           
 java.lang.Object _Location
           
 java.lang.Object _Location_Birth
           
 java.lang.Object _Location_Death
           
 double _MortalityProbability
           
 Time _Time_Birth
           
 Time _Time_Death
           
 
Constructor Summary
Person()
           
 
Method Summary
 double get_Age_double()
          Returns the Persons Age as a double
 double get_Age_double(java.util.Calendar _Calendar)
          Returns the Persons Age as a double
 double get_Age_double(Time _Time)
          Returns the Persons Age as a double
 int get_AgeInYears_int()
           
 int get_AgeInYears_int(java.util.Calendar _Calendar)
           
 int get_AgeInYears_int(Time _Time)
           
abstract  int get_Gender()
           
 void print_Age()
          Prints Persons Age at Current Computer Date using default Calendar
 void print_Age(java.util.Calendar _Calendar)
          Prints Persons Age at Date given by _Calendar
 void set_Time_Death(Time _Time_Death)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_Environment

public Environment _Environment

_ID

public java.lang.Object _ID

_Calendar_Birth

public java.util.Calendar _Calendar_Birth

_Time_Birth

public Time _Time_Birth

_Time_Death

public Time _Time_Death

_Location_Birth

public java.lang.Object _Location_Birth

_Location_Death

public java.lang.Object _Location_Death

_Location

public java.lang.Object _Location

_Family

public Family _Family

_Household

public Household _Household

_HouseholdHistory

public java.lang.Object _HouseholdHistory

_Fertility

public double _Fertility

_MortalityProbability

public double _MortalityProbability
Constructor Detail

Person

public Person()
Method Detail

set_Time_Death

public void set_Time_Death(Time _Time_Death)

print_Age

public void print_Age()
Prints Persons Age at Current Computer Date using default Calendar


print_Age

public void print_Age(java.util.Calendar _Calendar)
Prints Persons Age at Date given by _Calendar


get_AgeInYears_int

public int get_AgeInYears_int(java.util.Calendar _Calendar)

get_AgeInYears_int

public int get_AgeInYears_int(Time _Time)

get_AgeInYears_int

public int get_AgeInYears_int()

get_Age_double

public double get_Age_double(java.util.Calendar _Calendar)
Returns the Persons Age as a double


get_Age_double

public double get_Age_double(Time _Time)
Returns the Persons Age as a double


get_Age_double

public double get_Age_double()
Returns the Persons Age as a double


get_Gender

public abstract int get_Gender()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
description of this.