net.lessy.util.type
Class Money

java.lang.Object
  extended by net.lessy.util.type.Amount<Money>
      extended by net.lessy.util.type.Money
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Money4

public class Money
extends Amount<Money>

Wrappes an amount to represent a money amount

Author:
Hans Lesmeister
See Also:
Serialized Form

Constructor Summary
  Money(BigDecimal amount)
           
protected Money(BigDecimal value, int decimalPlaces)
           
  Money(double amount)
           
  Money(String amount)
           
 
Method Summary
 
Methods inherited from class net.lessy.util.type.Amount
add, createInstance, divideBy, divideBy, equals, getValue, hashCode, multiplyWith, subtract, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Money

protected Money(BigDecimal value,
                int decimalPlaces)

Money

public Money(BigDecimal amount)

Money

public Money(double amount)

Money

public Money(String amount)


Copyright © 2012. All Rights Reserved.