|
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
@Deprecated public abstract class AbstractMoney
| Field Summary | |
|---|---|
static String |
NO_CURRENCY
Deprecated |
static double |
ZERO
Deprecated |
| Constructor Summary | |
|---|---|
AbstractMoney()
Deprecated |
|
| Method Summary | |
|---|---|
static int |
compare(Money moneyA,
Money moneyB)
Deprecated Compares to money objects. |
boolean |
equals(Object object)
Deprecated Compares the specified object with this object. |
abstract String |
getCurrency()
Deprecated |
abstract double |
getValue()
Deprecated |
String |
toString()
Deprecated Returns a string containing the value and currency of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final double ZERO
public static final String NO_CURRENCY
| Constructor Detail |
|---|
public AbstractMoney()
| Method Detail |
|---|
public static int compare(Money moneyA,
Money moneyB)
throws CurrencyMismatchException
moneyA - a Money objectmoneyB - a Money object
CurrencyMismatchException - if the currencies
of the two Money objects differ.Money,
CurrencyMismatchExceptionpublic abstract double getValue()
getValue in interface Moneypublic abstract String getCurrency()
getCurrency in interface Moneypublic boolean equals(Object object)
equals in class Objectobject -
Moneypublic String toString()
toString in class Object
|
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 | ||||||||