org.jscience.economics.money
Class Coin

java.lang.Object
  extended by org.jscience.economics.money.Coin
All Implemented Interfaces:
Identified

public final class Coin
extends java.lang.Object
implements Identified

A class representing a metal or paper form of payment from one person to another.


Constructor Summary
Coin(double value, Identification identification, java.util.Date emission, Currency currency)
          Creates a new Coin object.
 
Method Summary
 Amount<Money> getAmount()
          DOCUMENT ME!
 java.util.Date getEmission()
          DOCUMENT ME!
 Identification getIdentification()
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Coin

public Coin(double value,
            Identification identification,
            java.util.Date emission,
            Currency currency)
Creates a new Coin object.

Parameters:
value - DOCUMENT ME!
identification - DOCUMENT ME!
emission - DOCUMENT ME!
currency - DOCUMENT ME!
Method Detail

getIdentification

public final Identification getIdentification()
DOCUMENT ME!

Specified by:
getIdentification in interface Identified
Returns:
DOCUMENT ME!

getEmission

public final java.util.Date getEmission()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getAmount

public final Amount<Money> getAmount()
DOCUMENT ME!

Returns:
DOCUMENT ME!

toString

public final java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!