© 2005 BEA Systems, Inc.

com.beasys.commerce.axiom.units
Class MoneyHome

java.lang.Object
  extended bycom.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

Constructor Summary
MoneyHome()
           
 
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
 

Constructor Detail

MoneyHome

public MoneyHome()
Method Detail

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.


© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved