com.beasys.commerce.axiom.units
Class MoneyHome

java.lang.Object
  extended by com.beasys.commerce.axiom.units.MoneyHome
All Implemented Interfaces
SmartHome, Serializable

Deprecated

@Deprecated
public class MoneyHome
extends Object
implements SmartHome, Serializable

The home class for the Money belonging. Use this class to create instances of Money.

       Money money = MoneyHome.create();
 

See Also
Serialized Form

Constructor Summary
MoneyHome()
          Deprecated  
 
Method Summary
static Money create()
          Deprecated Create a new Money Belonging.
static Money create(double value, String currency)
          Deprecated Create a new money object with the object initialized to the values passed in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoneyHome

public MoneyHome()
Deprecated 
Method Detail

create

public static Money create()
Deprecated 
Create a new Money Belonging. First look to see if there is a custom money home from the BelongingHome factory. If not, just use the default BelongingHome.create() operation.


create

public static Money create(double value,
                           String currency)
Deprecated 
Create a new money object with the object initialized to the values passed in.



Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.