org.jscience.history.archeology
Class Site

java.lang.Object
  extended by org.jscience.geography.Place
      extended by org.jscience.history.archeology.Site
All Implemented Interfaces:
Named, Positioned

public class Site
extends Place

A class representing a place where archeologists have looked for something, and usually found items and drawn a map.


Constructor Summary
Site(java.lang.String name, java.util.Date startDate, Boundary limits)
          Creates a new Site object.
 
Method Summary
 void addItem(Item item)
          DOCUMENT ME!
 java.lang.String getDescription()
          DOCUMENT ME!
 java.util.Set getItems()
          DOCUMENT ME!
 java.util.Date getStartDate()
          DOCUMENT ME!
 void removeItem(Item item)
          DOCUMENT ME!
 void setDescription(java.lang.String description)
          DOCUMENT ME!
 void setItems(java.util.Set contents)
          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

Site

public Site(java.lang.String name,
            java.util.Date startDate,
            Boundary limits)
Creates a new Site object.

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

getStartDate

public java.util.Date getStartDate()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getDescription

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

Returns:
DOCUMENT ME!

setDescription

public void setDescription(java.lang.String description)
DOCUMENT ME!

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

getItems

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

Returns:
DOCUMENT ME!

addItem

public void addItem(Item item)
DOCUMENT ME!

Parameters:
item - DOCUMENT ME!

removeItem

public void removeItem(Item item)
DOCUMENT ME!

Parameters:
item - DOCUMENT ME!

setItems

public void setItems(java.util.Set contents)
DOCUMENT ME!

Parameters:
contents - DOCUMENT ME!