Object
Serializable
Provides information describing an Adjustment. AdjustmentDetails can only be modified by resetting the entire object.
Related Topics
Adjustment
AdjustmentType
Money
Object
AdjustmentDetail
Serializable
Constructor Summary |
|
|
Method Summary |
protected boolean |
|
public final |
|
public final |
|
public final |
|
public final |
|
public final |
|
public final |
|
public final |
|
public final int |
|
public final |
|
public void | |
protected void |
|
protected void |
|
public |
|
public static |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected AdjustmentDetail()
protected AdjustmentDetail(Adjustmentparent, int seqNumber,AdjustmentTypetype,MoneyinitialPrice,MoneyendPrice,Stringcomputation,Stringreason,ObjectdetailID)
Related Topics
public AdjustmentDetail(AdjustmentTypetype,MoneyinitialPrice,MoneyendPrice,Stringcomputation,Stringreason,ObjectdetailID)
Related Topics
Method Detail |
protected boolean equalContent(AdjustmentDetail aDetail)
public final String getComputation()
Returns the computation string which describes
how the end price was computed from the initial price
public final String getCurrency()
Returns the currency for this adjustment. All money
values for this adjustment are of this currency
public final Object getDetailID()
Returns the detail ID for this detail.
public final Money getEndPrice()
Returns the final price for the detail
public final Money getInitialPrice()
Returns the initial price for the detail
public final Adjustment getParent()
Returns the Adjustment that is the parent of this detail
public final String getReason()
Returns the reason for the adjustment.
public final int getSeqNumber()Returns the sequence number of this detail
public final AdjustmentType getType()
Returns the AdjustmentType for this detail.
public void set(Set the AdjustmentDetail with the specified values. New Money objects are created from those specifiedAdjustmentTypetype,MoneyinitialPrice,MoneyendPrice,Stringcomputation,Stringreason,ObjectdetailID)
throwsQuoteException
QuoteException
Related Topics
protected void set(Set the AdjustmentDetail with the specified values. New Money objects are created from those specified.Adjustmentparent, int seqNumber,AdjustmentTypetype,MoneyinitialPrice,MoneyendPrice,Stringcomputation,Stringreason,ObjectdetailID)
throwsQuoteException
QuoteException
Related Topics
protected void set(Adjustment parent,
int seqNumber)
public String toString()
Produces a string representing this detail.
This method is intended for debugging purposes
and may change at anytime.
Object.toString()
public staticProduces a string representing a List of details. This method is intended for debugging purposes and may change at anytime.StringtoString(Listdetails)