org.jscience.sociology
Class Society

java.lang.Object
  extended by org.jscience.sociology.Society
All Implemented Interfaces:
Named

public class Society
extends java.lang.Object
implements Named

A class representing the common elements of a group of individuals, what we usually also call civilization.


Constructor Summary
Society(java.lang.String name, Tribe tribe)
          Creates a new Society object.
 
Method Summary
 void addTribe(Tribe tribe)
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 java.util.Set getTribes()
          DOCUMENT ME!
 void removeTribe(Tribe tribe)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Society

public Society(java.lang.String name,
               Tribe tribe)
Creates a new Society object.

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

getName

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

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

getTribes

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

Returns:
DOCUMENT ME!

addTribe

public void addTribe(Tribe tribe)
DOCUMENT ME!

Parameters:
tribe - DOCUMENT ME!

removeTribe

public void removeTribe(Tribe tribe)
DOCUMENT ME!

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