org.jscience.sociology
Class Person

java.lang.Object
  extended by org.jscience.biology.Individual
      extended by org.jscience.biology.HistoricalIndividual
          extended by org.jscience.biology.human.Human
              extended by org.jscience.sociology.Person
All Implemented Interfaces:
java.lang.Cloneable, Positioned

public class Person
extends Human

A class representing an individual from the Human specie acting in the modern society.


Constructor Summary
Person(java.lang.String givenName, java.lang.String lastName)
          Creates a new Person object.
Person(java.lang.String firstName, java.lang.String lastName, java.util.Date dateOfBirth)
          Creates a new Person object.
 
Method Summary
 void addWife(Human wife)
          DOCUMENT ME!
 Address getCurrentAddress()
          DOCUMENT ME!
 java.util.Set getWives()
          DOCUMENT ME!
 void removeWife(Human wife)
          DOCUMENT ME!
 void setCurrentAddress(Address address)
          DOCUMENT ME!
 void setWives(java.util.Set wives)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.biology.human.Human
addAvailableBehavior, getAvailableBehaviors, getBestName, getGivenName, getLastName, getUsedName, removeAvailableBehavior, setAvailableBehaviors, setUsedName
 
Methods inherited from class org.jscience.biology.HistoricalIndividual
addChild, equals, extractTree, getAllChildren, getBiography, getChildren, getCommonRoot, getDateOfBirth, getDateOfDeath, getFamily, getLineage, getMates, getParents, getRoots, getRoots, hasBothParents, hasChild, hasChild, hasDistantChild, hasParent, isParent, removeChild, reparent, setBiography, setChildren, setDateOfBirth, setDateOfDeath
 
Methods inherited from class org.jscience.biology.Individual
addBehavior, addRole, checkGenome, clone, getAllCells, getAttribute, getBehaviors, getOrgans, getPosition, getRoles, getSex, getSpecies, getStage, getTerritory, getTissues, removeBehavior, removeRole, reproduce, setAttribute, setBehaviors, setOrgans, setPosition, setRoles, setSex, setSpecies, setStage, setTerritory, setTissues
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person(java.lang.String givenName,
              java.lang.String lastName)
Creates a new Person object.

Parameters:
givenName - DOCUMENT ME!
lastName - DOCUMENT ME!

Person

public Person(java.lang.String firstName,
              java.lang.String lastName,
              java.util.Date dateOfBirth)
Creates a new Person object.

Parameters:
firstName - DOCUMENT ME!
lastName - DOCUMENT ME!
dateOfBirth - DOCUMENT ME!
Method Detail

getCurrentAddress

public Address getCurrentAddress()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setCurrentAddress

public void setCurrentAddress(Address address)
DOCUMENT ME!

Parameters:
address - DOCUMENT ME!

getWives

public java.util.Set getWives()
DOCUMENT ME!

Returns:
DOCUMENT ME!

addWife

public void addWife(Human wife)
DOCUMENT ME!

Parameters:
wife - DOCUMENT ME!

removeWife

public void removeWife(Human wife)
DOCUMENT ME!

Parameters:
wife - DOCUMENT ME!

setWives

public void setWives(java.util.Set wives)
DOCUMENT ME!

Parameters:
wives - DOCUMENT ME!