|
Copyright © 2008 BEA Systems, Inc. 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 See BEA Commerce product offering |
|
| Method Summary | |
|---|---|
static ImmutableMoney |
create(Money axiomMoney)
Deprecated See BEA Commerce product offering |
static ImmutableMoney |
create(Money money)
Deprecated See BEA Commerce product offering |
static ImmutableMoney |
create(Money money,
double value)
Deprecated See BEA Commerce product offering |
String |
getCurrency()
Deprecated See BEA Commerce product offering |
double |
getValue()
Deprecated See BEA Commerce product offering |
String |
toString()
Deprecated See BEA Commerce product offering |
| 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 © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||