org.jscience.economics
Class HumanResource

java.lang.Object
  extended by org.jscience.economics.PotentialResource
      extended by org.jscience.economics.Resource
          extended by org.jscience.economics.HumanResource
All Implemented Interfaces:
java.io.Serializable, Property, Named, Positioned

public class HumanResource
extends Resource
implements Property, java.io.Serializable

A class representing the modern human work as an economical resource.

See Also:
Serialized Form

Constructor Summary
HumanResource(java.lang.String name, java.lang.String description, Amount amount, Community producer, Amount<Money> value)
          Creates a new HumanResource object.
HumanResource(java.lang.String name, java.lang.String description, Amount amount, Community producer, Place productionPlace, java.util.Date productionDate, Amount<Money> value)
          Creates a new HumanResource object.
 
Method Summary
 boolean equals(java.lang.Object o)
          DOCUMENT ME!
 Amount<Money> getValue()
          DOCUMENT ME!
 void setValue(Amount<Money> value)
          DOCUMENT ME!
 
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

HumanResource

public HumanResource(java.lang.String name,
                     java.lang.String description,
                     Amount amount,
                     Community producer,
                     Amount<Money> value)
Creates a new HumanResource object.

Parameters:
name - DOCUMENT ME!
description - DOCUMENT ME!
amount - DOCUMENT ME!
producer - DOCUMENT ME!
value - DOCUMENT ME!

HumanResource

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

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

getValue

public Amount<Money> getValue()
DOCUMENT ME!

Specified by:
getValue in interface Property
Returns:
DOCUMENT ME!

setValue

public void setValue(Amount<Money> value)
DOCUMENT ME!

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

equals

public boolean equals(java.lang.Object o)
DOCUMENT ME!

Overrides:
equals in class Resource
Parameters:
o - DOCUMENT ME!
Returns:
DOCUMENT ME!