org.jscience.economics.resources
Class Building

java.lang.Object
  extended by org.jscience.economics.PotentialResource
      extended by org.jscience.economics.Resource
          extended by org.jscience.economics.MaterialResource
              extended by org.jscience.economics.resources.Artifact
                  extended by org.jscience.economics.resources.Building
All Implemented Interfaces:
java.io.Serializable, Property, Store, Named, Positioned

public class Building
extends Artifact
implements Store

A class representing a Building or a monument.

See Also:
Serialized Form

Constructor Summary
Building(java.lang.String name, java.lang.String description, Amount amount, Community producer, Place productionPlace, java.util.Date productionDate, Identification identification, Amount<Money> value)
          Creates a new Building object.
 
Method Summary
 java.util.Set getContents()
          DOCUMENT ME!
 void getIn()
          DOCUMENT ME!
 void getOut()
          DOCUMENT ME!
 java.lang.String getPurpose()
          DOCUMENT ME!
 void setPurpose(java.lang.String purpose)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.economics.resources.Artifact
getGroup, isBroken, setGroup, setIsBroken
 
Methods inherited from class org.jscience.economics.MaterialResource
equals, getIdentification, getValue, setValue
 
Methods inherited from class org.jscience.economics.Resource
addOwner, getOwners, getPosition, getProducer, getProductionDate, getProductionPlace, removeOwner, setOwners, setPosition
 
Methods inherited from class org.jscience.economics.PotentialResource
getAmount, getDecayTime, getDescription, getKind, getName, setDecayTime, setKind, setQuantity
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jscience.economics.Property
getOwners
 

Constructor Detail

Building

public Building(java.lang.String name,
                java.lang.String description,
                Amount amount,
                Community producer,
                Place productionPlace,
                java.util.Date productionDate,
                Identification identification,
                Amount<Money> value)
Creates a new Building object.

Parameters:
name - DOCUMENT ME!
description - DOCUMENT ME!
amount - DOCUMENT ME!
producer - DOCUMENT ME!
productionPlace - DOCUMENT ME!
productionDate - DOCUMENT ME!
identification - DOCUMENT ME!
value - DOCUMENT ME!
Method Detail

getContents

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

Specified by:
getContents in interface Store
Returns:
DOCUMENT ME!

getPurpose

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

Returns:
DOCUMENT ME!

setPurpose

public void setPurpose(java.lang.String purpose)
DOCUMENT ME!

Parameters:
purpose - DOCUMENT ME!

getIn

public void getIn()
DOCUMENT ME!

Specified by:
getIn in interface Store

getOut

public void getOut()
DOCUMENT ME!

Specified by:
getOut in interface Store