org.jscience.economics.money
Class Share

java.lang.Object
  extended by org.jscience.economics.money.Share
All Implemented Interfaces:
Property

public final class Share
extends java.lang.Object
implements Property

A class representing a share in a company, a value, a title of ownership.


Constructor Summary
Share(java.util.Set owners, java.lang.String symbol, Organization company, Amount<Money> currentValue)
          Creates a new Share object.
 
Method Summary
 Organization getOrganization()
          DOCUMENT ME!
 java.util.Set getOwners()
          DOCUMENT ME!
 java.lang.String getSymbol()
          DOCUMENT ME!
 Amount<Money> getValue()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Share

public Share(java.util.Set owners,
             java.lang.String symbol,
             Organization company,
             Amount<Money> currentValue)
Creates a new Share object.

Parameters:
owners - DOCUMENT ME!
symbol - DOCUMENT ME!
company - DOCUMENT ME!
currentValue - DOCUMENT ME!
Method Detail

getOwners

public final java.util.Set getOwners()
DOCUMENT ME!

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

getSymbol

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

Returns:
DOCUMENT ME!

getOrganization

public final Organization getOrganization()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getValue

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

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