org.jscience.politics
Class Region

java.lang.Object
  extended by org.jscience.geography.Place
      extended by org.jscience.politics.Region
All Implemented Interfaces:
Named, Positioned

public class Region
extends Place

A class representing a common country subdivision.


Constructor Summary
Region(java.lang.String name, Boundary boundary, Country country)
          Creates a new Region object.
 
Method Summary
 Country getCountry()
          DOCUMENT ME!
 java.util.Set getLeaders()
          DOCUMENT ME!
protected  void setCountry(Country country)
          DOCUMENT ME!
 void setLeaders(java.util.Set leaders)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.geography.Place
getBoundary, getName, getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Region

public Region(java.lang.String name,
              Boundary boundary,
              Country country)
Creates a new Region object.

Parameters:
name - DOCUMENT ME!
boundary - DOCUMENT ME!
country - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getLeaders

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

Returns:
DOCUMENT ME!

setLeaders

public void setLeaders(java.util.Set leaders)
DOCUMENT ME!

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

getCountry

public Country getCountry()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setCountry

protected void setCountry(Country country)
DOCUMENT ME!

Parameters:
country - DOCUMENT ME!