com.beasys.commerce.axiom.units
Class MoneyHome

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

Deprecated See BEA Commerce product offering

@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 See BEA Commerce product offering
 
Method Summary
static Money create()
          Deprecated See BEA Commerce product offering
static Money create(double value, String currency)
          Deprecated See BEA Commerce product offering
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoneyHome

public MoneyHome()
Deprecated See BEA Commerce product offering

Method Detail

create

public static Money create()
Deprecated See BEA Commerce product offering

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 See BEA Commerce product offering

Create a new money object with the object initialized to the values passed in.



Copyright © 2008 BEA Systems, Inc. All Rights Reserved