|
© 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.AdjustmentDetail
Provides information describing an Adjustment. AdjustmentDetails can only be modified by resetting the entire object.
Adjustment
,
AdjustmentType
,
Money
, Serialized FormConstructor Summary | |
protected |
AdjustmentDetail()
|
protected |
AdjustmentDetail(Adjustment parent,
int seqNumber,
AdjustmentType type,
Money initialPrice,
Money endPrice,
java.lang.String computation,
java.lang.String reason,
java.lang.Object detailID)
Construct a new AdjustmentDetail with the specified values. |
|
AdjustmentDetail(AdjustmentType type,
Money initialPrice,
Money endPrice,
java.lang.String computation,
java.lang.String reason,
java.lang.Object detailID)
Construct a new AdjustmentDetail with the specified values. |
Method Summary | |
protected boolean |
equalContent(AdjustmentDetail aDetail)
|
java.lang.String |
getComputation()
Returns the computation string which describes how the end price was computed from the initial price |
java.lang.String |
getCurrency()
Returns the currency for this adjustment. |
java.lang.Object |
getDetailID()
Returns the detail ID for this detail. |
Money |
getEndPrice()
Returns the final price for the detail |
Money |
getInitialPrice()
Returns the initial price for the detail |
Adjustment |
getParent()
Returns the Adjustment that is the parent of this detail |
java.lang.String |
getReason()
Returns the reason for the adjustment. |
int |
getSeqNumber()
Returns the sequence number of this detail |
AdjustmentType |
getType()
Returns the AdjustmentType for this detail. |
protected void |
set(Adjustment parent,
int seqNumber)
|
protected void |
set(Adjustment parent,
int seqNumber,
AdjustmentType type,
Money initialPrice,
Money endPrice,
java.lang.String computation,
java.lang.String reason,
java.lang.Object detailID)
Set the AdjustmentDetail with the specified values. |
void |
set(AdjustmentType type,
Money initialPrice,
Money endPrice,
java.lang.String computation,
java.lang.String reason,
java.lang.Object detailID)
Set the AdjustmentDetail with the specified values. |
java.lang.String |
toString()
Produces a string representing this detail. |
static java.lang.String |
toString(java.util.List details)
Produces a string representing a List of details. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
protected AdjustmentDetail()
public AdjustmentDetail(AdjustmentType type, Money initialPrice, Money endPrice, java.lang.String computation, java.lang.String reason, java.lang.Object detailID) throws QuoteException
type
- the AdjustmentType of this detailinitialPrice
- the price of the object
before adjustment.endPrice
- the price of the object
after adjustment.computation
- a string describing the computation used
to compute the end price from the initial price.reason
- the reason for the adjustmentdetailID
- the identifier associated with this adjustment.AdjustmentType
,
Money
protected AdjustmentDetail(Adjustment parent, int seqNumber, AdjustmentType type, Money initialPrice, Money endPrice, java.lang.String computation, java.lang.String reason, java.lang.Object detailID) throws QuoteException
parent
- the parent Adjustment for this detailseqNumber
- the sequence number for this detailtype
- the AdjustmentType of this detailinitialPrice
- the price of the object
before adjustment.endPrice
- the price of the object
after adjustment.computation
- a string describing the computation used
to compute the end price from the initial price.reason
- the reason for the adjustmentdetailID
- the identifier associated with this adjustment.AdjustmentType
,
Money
Method Detail |
public void set(AdjustmentType type, Money initialPrice, Money endPrice, java.lang.String computation, java.lang.String reason, java.lang.Object detailID) throws QuoteException
type
- the AdjustmentType of this detailinitialPrice
- the price of the object
before adjustment.endPrice
- the price of the object
after adjustment.computation
- a string describing the computation used
to compute the end price from the initial price.reason
- the reason for the adjustmentdetailID
- the identifier associated with this adjustment.AdjustmentType
,
Money
protected void set(Adjustment parent, int seqNumber, AdjustmentType type, Money initialPrice, Money endPrice, java.lang.String computation, java.lang.String reason, java.lang.Object detailID) throws QuoteException
parent
- the parent Adjustment for this detailseqNumber
- the sequence number for this detailtype
- the AdjustmentType of this detailinitialPrice
- the price of the object
before adjustment.endPrice
- the price of the object
after adjustment.computation
- a string describing the computation used
to compute the end price from the initial price.reason
- the reason for the adjustmentdetailID
- the identifier associated with this adjustment.AdjustmentType
,
Money
protected void set(Adjustment parent, int seqNumber)
public final AdjustmentType getType()
public final Money getInitialPrice()
public final Money getEndPrice()
public final Adjustment getParent()
public final int getSeqNumber()
public final java.lang.Object getDetailID()
public final java.lang.String getComputation()
public final java.lang.String getReason()
protected boolean equalContent(AdjustmentDetail aDetail)
public final java.lang.String getCurrency()
public java.lang.String toString()
public static java.lang.String toString(java.util.List details)
details
- a List of AdjustmentDetails.
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |