|
Copyright © 2006 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.Adjustment
@Deprecated public abstract class Adjustment
Represents an adjustment to a Quote object. An adjustment must have the same currency for all money values. Attempts to violate the single currency rule will produce CurrencyMismatchExceptions.
Field Summary | |
---|---|
protected List |
details
Deprecated See BEA Commerce product offering |
protected boolean |
isSet
Deprecated See BEA Commerce product offering |
protected AdjustmentType |
type
Deprecated See BEA Commerce product offering |
Constructor Summary | |
---|---|
protected |
Adjustment()
Deprecated See BEA Commerce product offering |
protected |
Adjustment(AdjustmentType aType,
Money aBasePrice)
Deprecated See BEA Commerce product offering |
protected |
Adjustment(Money aBasePrice)
Deprecated See BEA Commerce product offering |
Method Summary | |
---|---|
protected void |
addDetail(AdjustmentDetail aDetail)
Deprecated See BEA Commerce product offering |
protected boolean |
checkCurrency(AdjustmentDetail detail)
Deprecated See BEA Commerce product offering |
protected boolean |
checkCurrency(Money value)
Deprecated See BEA Commerce product offering |
protected boolean |
checkCurrency(String value)
Deprecated See BEA Commerce product offering |
protected void |
computeAdjustmentAmount()
Deprecated See BEA Commerce product offering |
Money |
getActualPrice()
Deprecated See BEA Commerce product offering |
Money |
getAdjustmentAmount()
Deprecated See BEA Commerce product offering |
Money |
getBasePrice()
Deprecated See BEA Commerce product offering |
String |
getCurrency()
Deprecated See BEA Commerce product offering |
List |
getDetails()
Deprecated See BEA Commerce product offering |
AdjustmentType |
getType()
Deprecated See BEA Commerce product offering |
protected void |
init()
Deprecated See BEA Commerce product offering |
protected void |
markModified()
Deprecated See BEA Commerce product offering |
protected void |
reset()
Deprecated See BEA Commerce product offering |
protected double |
roundBasePrice(double value)
Deprecated See BEA Commerce product offering |
void |
set(AdjustmentType aType,
Money aBasePrice)
Deprecated See BEA Commerce product offering |
void |
set(Money aBasePrice)
Deprecated See BEA Commerce product offering |
protected void |
setActualPrice(Money anActualPrice)
Deprecated See BEA Commerce product offering |
protected void |
setAdjustmentAmount(double value)
Deprecated See BEA Commerce product offering |
protected void |
setType(AdjustmentDetail aDetail)
Deprecated See BEA Commerce product offering |
String |
toString()
Deprecated See BEA Commerce product offering |
static String |
toString(List adjustments)
Deprecated See BEA Commerce product offering |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected AdjustmentType type
protected List details
protected boolean isSet
Constructor Detail |
---|
protected Adjustment()
protected Adjustment(Money aBasePrice)
protected Adjustment(AdjustmentType aType, Money aBasePrice)
Method Detail |
---|
protected void init()
protected void reset()
public void set(AdjustmentType aType, Money aBasePrice)
aType
- the AdjustmentType for this adjustment.aBasePrice
- the base price for the Adjustment.AdjustmentType
public void set(Money aBasePrice)
aBasePrice
- the base price for the Adjustment.public final Money getActualPrice()
public final Money getAdjustmentAmount()
public final Money getBasePrice()
public final AdjustmentType getType()
AdjustmentType
public List getDetails()
AdjustmentDetail
public final String getCurrency()
protected double roundBasePrice(double value)
value
- Money amount to be roundedprotected final void setActualPrice(Money anActualPrice)
protected void computeAdjustmentAmount()
protected final void setAdjustmentAmount(double value)
protected final void markModified()
protected void addDetail(AdjustmentDetail aDetail)
protected void setType(AdjustmentDetail aDetail)
protected final boolean checkCurrency(Money value)
value
- a money object to be compared to the current value
protected final boolean checkCurrency(String value)
protected final boolean checkCurrency(AdjustmentDetail detail)
public String toString()
toString
in class Object
public static String toString(List adjustments)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |