org.jscience.politics
Class Federation

java.lang.Object
  extended by org.jscience.politics.Federation
All Implemented Interfaces:
Named

public class Federation
extends java.lang.Object
implements Named

A class representing a set of countries working together and may be with no common boundaries.


Constructor Summary
Federation(java.lang.String name, java.util.Set countries)
          Creates a new Federation object.
 
Method Summary
 void addCountry(Country country)
          DOCUMENT ME!
 java.util.Set getCountries()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 void removeCountry(Country country)
          DOCUMENT ME!
 void setName()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Federation

public Federation(java.lang.String name,
                  java.util.Set countries)
Creates a new Federation object.

Parameters:
name - DOCUMENT ME!
countries - DOCUMENT ME!
Method Detail

getName

public java.lang.String getName()
DOCUMENT ME!

Specified by:
getName in interface Named
Returns:
DOCUMENT ME!

setName

public void setName()
DOCUMENT ME!


getCountries

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

Returns:
DOCUMENT ME!

addCountry

public void addCountry(Country country)
DOCUMENT ME!

Parameters:
country - DOCUMENT ME!

removeCountry

public void removeCountry(Country country)
DOCUMENT ME!

Parameters:
country - DOCUMENT ME!