org.jscience.politics
Class Citizen

java.lang.Object
  extended by org.jscience.sociology.Role
      extended by org.jscience.politics.Citizen
All Implemented Interfaces:
Named

public class Citizen
extends Role

A class representing a citizen basic facts.


Field Summary
 
Fields inherited from class org.jscience.sociology.Role
CLIENT, OBSERVER, SERVER, SUPERVISOR
 
Constructor Summary
Citizen(Individual individual, CivilSituation situation)
          Creates a new Citizen object.
 
Method Summary
 void addNationality(Country country)
          DOCUMENT ME!
 Identification getIdentification()
          DOCUMENT ME!
 java.util.Set getNationalities()
          DOCUMENT ME!
 void removeNationality(Country country)
          DOCUMENT ME!
 void setIdentification(Identification identification)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.sociology.Role
getIndividual, getKind, getName, getSituation, setSituation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Citizen

public Citizen(Individual individual,
               CivilSituation situation)
Creates a new Citizen object.

Parameters:
individual - DOCUMENT ME!
situation - DOCUMENT ME!
Method Detail

getNationalities

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

Returns:
DOCUMENT ME!

addNationality

public void addNationality(Country country)
DOCUMENT ME!

Parameters:
country - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

removeNationality

public void removeNationality(Country country)
DOCUMENT ME!

Parameters:
country - DOCUMENT ME!

getIdentification

public Identification getIdentification()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setIdentification

public void setIdentification(Identification identification)
DOCUMENT ME!

Parameters:
identification - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!