|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.commerce.ebusiness.price.quote.Adjustment | +--com.bea.commerce.ebusiness.price.quote.OrderAdjustment
An OrderAdjustment is used in conjunction with the Quote class to adjust the total price of the Quote.
Adjustment
,
Quote
,
AdjustmentDetail
,
Money
,
AdjustmentType
, Serialized FormFields inherited from class com.bea.commerce.ebusiness.price.quote.Adjustment |
details,
isSet,
type |
Constructor Summary | |
protected |
OrderAdjustment()
|
|
OrderAdjustment(Money aBasePrice,
Quote parent)
Constructs a new OrderAdjustment with the specified values. |
Method Summary | |
protected void |
addDetail(AdjustmentDetail aDetail)
|
protected void |
computeAdjustmentAmount()
Computes the amount of adjustment. |
Quote |
getParent()
Returns the Quote that is the parent of this adjustment |
protected void |
init()
allocate permanent objects, called by super constructor |
protected void |
reset()
reset created values, called by super set() |
protected double |
roundBasePrice(double value)
Provides a means to round the base price amount. |
void |
set(Money aBasePrice,
Quote parent)
Sets the adjusment object values, clearing any old values |
protected void |
setType(AdjustmentDetail aDetail)
called by addDetail() in the super class to set the type of this adjustment. |
java.lang.String |
toString()
Provides a string representation of this object. |
static java.lang.String |
toString(java.util.List adjustments)
Provides a string representation of a List of OrderAdjustments. |
Methods inherited from class com.bea.commerce.ebusiness.price.quote.Adjustment |
checkCurrency,
checkCurrency,
checkCurrency,
getActualPrice,
getAdjustmentAmount,
getBasePrice,
getCurrency,
getDetails,
getType,
markModified,
set,
set,
setActualPrice,
setAdjustmentAmount |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
protected OrderAdjustment()
public OrderAdjustment(Money aBasePrice, Quote parent)
Adjustment
,
Quote
Method Detail |
public void set(Money aBasePrice, Quote parent)
protected void init()
protected void reset()
public final Quote getParent()
protected void addDetail(AdjustmentDetail aDetail)
protected void setType(AdjustmentDetail aDetail)
protected double roundBasePrice(double value)
value
- Money amount to be roundedprotected void computeAdjustmentAmount()
public java.lang.String toString()
public static java.lang.String toString(java.util.List adjustments)
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |