|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.commerce.ebusiness.price.quote.AbstractMoney
com.bea.commerce.ebusiness.price.quote.ImmutableMoney
@Deprecated public class ImmutableMoney
| Field Summary |
|---|
| Fields inherited from class com.bea.commerce.ebusiness.price.quote.AbstractMoney |
|---|
NO_CURRENCY, ZERO |
| Constructor Summary | |
|---|---|
ImmutableMoney(double value,
String currency)
Deprecated Constructs a new ImmutableMoney object with a value and currency as specified by the given parameters. |
|
| Method Summary | |
|---|---|
static ImmutableMoney |
create(Money axiomMoney)
Deprecated Create a new immutable money object from the com.beasys.commerce.axiom.units.Money object passed in. |
static ImmutableMoney |
create(Money money)
Deprecated Create a new immutable money object. |
static ImmutableMoney |
create(Money money,
double value)
Deprecated Create a new immutable money object. |
String |
getCurrency()
Deprecated |
double |
getValue()
Deprecated |
String |
toString()
Deprecated Returns the class of the object and the value and currency of the object. |
| Methods inherited from class com.bea.commerce.ebusiness.price.quote.AbstractMoney |
|---|
compare, equals |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ImmutableMoney(double value,
String currency)
value - the amount of moneycurrency - the string value of the currency| Method Detail |
|---|
public static ImmutableMoney create(Money axiomMoney)
axiomMoney - a money object
Money
public static ImmutableMoney create(Money money,
double value)
money - a money objectvalue - the amount of the new money object
Moneypublic static ImmutableMoney create(Money money)
money - a money object
Moneypublic double getValue()
getValue in interface MoneygetValue in class AbstractMoneypublic String getCurrency()
getCurrency in interface MoneygetCurrency in class AbstractMoneypublic String toString()
toString in class AbstractMoney
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||