org.jscience.politics
Class Settlement

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

public class Settlement
extends Place

A class representing a primitive settlement. This is to be used mostly for Tribes (human groups), or primate groups, or also Ants groups (in which case this class is the colony).


Constructor Summary
Settlement(java.lang.String name, Group group)
          Creates a new Settlement object.
 
Method Summary
 Group getGroup()
          DOCUMENT ME!
 java.util.Set getLeaders()
          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

Settlement

public Settlement(java.lang.String name,
                  Group group)
Creates a new Settlement object.

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

getGroup

public Group getGroup()
DOCUMENT ME!

Returns:
DOCUMENT ME!

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!