org.jscience.politics
Class City

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

public class City
extends Place

A class representing a human modern settlement.


Constructor Summary
City(java.lang.String name, Boundary boundary, Country country)
          Creates a new City object.
 
Method Summary
 Country getCountry()
          DOCUMENT ME!
 java.util.Set getLeaders()
          DOCUMENT ME!
 java.lang.String getZipCode()
          DOCUMENT ME!
protected  void setCountry(Country country)
          DOCUMENT ME!
 void setLeaders(java.util.Set leaders)
          DOCUMENT ME!
 void setZipCode(java.lang.String zipCode)
          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

City

public City(java.lang.String name,
            Boundary boundary,
            Country country)
Creates a new City 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!

getZipCode

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

Returns:
DOCUMENT ME!

setZipCode

public void setZipCode(java.lang.String zipCode)
DOCUMENT ME!

Parameters:
zipCode - DOCUMENT ME!