com.beasys.commerce.axiom.units
Class MoneyHome
java.lang.Object
com.beasys.commerce.axiom.units.MoneyHome
- All Implemented Interfaces:
- Serializable, SmartHome
- 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
Method Summary |
static Money |
create()
Create a new Money Belonging. |
static Money |
create(double value,
String currency)
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 |
MoneyHome
public MoneyHome()
create
public static Money create()
- 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)
- Create a new money object with the object initialized to the
values passed in.
Copyright © 2005 BEA Systems, Inc. All Rights Reserved