org.jscience.economics.resources
Class Vehicle

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.Object
                      extended by org.jscience.economics.resources.Tool
                          extended by org.jscience.economics.resources.Machine
                              extended by org.jscience.economics.resources.Vehicle
All Implemented Interfaces:
java.io.Serializable, Property, Store, Named, Positioned

public abstract class Vehicle
extends Machine
implements Store

A class representing an object which purpose is to be moved.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jscience.economics.resources.Machine
COIL, ELECTRICITY, FUEL, GAZ, MUSCULAR, SOLAR, VAPOR, WATERFALL, WIND, WOOD
 
Constructor Summary
Vehicle(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 Vehicle object.
 
Method Summary
 java.util.Set getContents()
          DOCUMENT ME!
abstract  void getIn()
          DOCUMENT ME!
abstract  void getOut()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.economics.resources.Machine
getEnergySources, isOn, setEnergySources, switchStatus
 
Methods inherited from class org.jscience.economics.resources.Tool
act, getActionName, getNumActions, getPurpose, getTargets, setNumActions, setPurpose, setTargets
 
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

Vehicle

public Vehicle(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 Vehicle 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!

getIn

public abstract void getIn()
DOCUMENT ME!

Specified by:
getIn in interface Store

getOut

public abstract void getOut()
DOCUMENT ME!

Specified by:
getOut in interface Store