uk.ac.leeds.ccg.andyt.projects.genesis.society.organisations
Class Family
java.lang.Object
uk.ac.leeds.ccg.andyt.projects.genesis.society.organisations.Family
- All Implemented Interfaces:
- java.io.Serializable
public class Family
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_GENESIS_Environment
public transient GENESIS_Environment _GENESIS_Environment
_Mother_Agent_ID
protected java.lang.Long _Mother_Agent_ID
_Children_Agent_ID_HashSet
protected java.util.HashSet<java.lang.Long> _Children_Agent_ID_HashSet
Family
public Family(GENESIS_Environment _GENESIS_Environment)
- A record of the date and changes in Family for _Person. Inlcuding;
Births, deaths, marriages, changes of dependent/guardian status.
Family
public Family(GENESIS_Person a_Person)
add_Child
public void add_Child(java.lang.Long a_Agent_ID)
- Children are not necessarily dependents, but are biological/genetic
inheritors. A child should be added to a parent. It is possible through
genetic engineering that a person has only one parent or has more than
two parents. It is usual that a person has two parents, a male and a
female. One case of three parents can be a doner egg used in fertility
treatment. A child is not to be removed from a family. So when a child
becomes adult or non-dependent they are still a child.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
- description of this.
set_Mother
public void set_Mother(java.lang.Long a_AgentID)
- Mother is the female primary biological/genetic provider. (Complex
situation where there is more than one are not considered)
get_Mother_Agent_ID
public java.lang.Long get_Mother_Agent_ID()
get_Children_Agent_ID_HashSet
public java.util.HashSet<java.lang.Long> get_Children_Agent_ID_HashSet()