|
Copyright © 2000, 2009, 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.AdjustmentDetail
@Deprecated public class AdjustmentDetail
Provides information describing an Adjustment. AdjustmentDetails can only be modified by resetting the entire object.
Adjustment
,
AdjustmentType
,
Money
,
Serialized FormConstructor Summary | |
---|---|
protected |
AdjustmentDetail()
Deprecated |
protected |
AdjustmentDetail(Adjustment parent,
int seqNumber,
AdjustmentType type,
Money initialPrice,
Money endPrice,
String computation,
String reason,
Object detailID)
Deprecated Construct a new AdjustmentDetail with the specified values. |
|
AdjustmentDetail(AdjustmentType type,
Money initialPrice,
Money endPrice,
String computation,
String reason,
Object detailID)
Deprecated Construct a new AdjustmentDetail with the specified values. |
Method Summary | |
---|---|
protected boolean |
equalContent(AdjustmentDetail aDetail)
Deprecated |
String |
getComputation()
Deprecated Returns the computation string which describes how the end price was computed from the initial price |
String |
getCurrency()
Deprecated Returns the currency for this adjustment. |
Object |
getDetailID()
Deprecated Returns the detail ID for this detail. |
Money |
getEndPrice()
Deprecated Returns the final price for the detail |
Money |
getInitialPrice()
Deprecated Returns the initial price for the detail |
Adjustment |
getParent()
Deprecated Returns the Adjustment that is the parent of this detail |
String |
getReason()
Deprecated Returns the reason for the adjustment. |
int |
getSeqNumber()
Deprecated Returns the sequence number of this detail |
AdjustmentType |
getType()
Deprecated Returns the AdjustmentType for this detail. |
protected void |
set(Adjustment parent,
int seqNumber)
Deprecated |
protected void |
set(Adjustment parent,
int seqNumber,
AdjustmentType type,
Money initialPrice,
Money endPrice,
String computation,
String reason,
Object detailID)
Deprecated Set the AdjustmentDetail with the specified values. |
void |
set(AdjustmentType type,
Money initialPrice,
Money endPrice,
String computation,
String reason,
Object detailID)
Deprecated Set the AdjustmentDetail with the specified values. |
String |
toString()
Deprecated Produces a string representing this detail. |
static String |
toString(List details)
Deprecated 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, String computation, String reason, 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.
com.bea.commerce.ebusiness.price.QuoteException
QuoteException
AdjustmentType
,
Money
protected AdjustmentDetail(Adjustment parent, int seqNumber, AdjustmentType type, Money initialPrice, Money endPrice, String computation, String reason, 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.
com.bea.commerce.ebusiness.price.QuoteException
QuoteException
AdjustmentType
,
Money
Method Detail |
---|
public void set(AdjustmentType type, Money initialPrice, Money endPrice, String computation, String reason, 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.
com.bea.commerce.ebusiness.price.QuoteException
QuoteException
AdjustmentType
,
Money
protected void set(Adjustment parent, int seqNumber, AdjustmentType type, Money initialPrice, Money endPrice, String computation, String reason, 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.
com.bea.commerce.ebusiness.price.QuoteException
QuoteException
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 Object getDetailID()
public final String getComputation()
public final String getReason()
protected boolean equalContent(AdjustmentDetail aDetail)
public final String getCurrency()
public String toString()
toString
in class Object
public static String toString(List details)
details
- a List of AdjustmentDetails.
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |