|
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.Object com.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
,
CurrencyMismatchException
public abstract double getValue()
getValue
in interface Money
public abstract String getCurrency()
getCurrency
in interface Money
public boolean equals(Object object)
equals
in class Object
object
-
Money
public 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 |