|
Copyright © 2008 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.beasys.commerce.foundation.BelongingImpl
com.beasys.commerce.ebusiness.order.OrderLineImpl
@Deprecated public class OrderLineImpl
OrderLine represents one line in an Order. It contains a reference to an Item, a Quantity, a unitPrice and a list of Adjustments to the total line price.
OrderLine,
OrderLineHome,
Serialized Form| Field Summary | |
|---|---|
ArrayList |
adjustmentPresentations
Deprecated See BEA Commerce product offering |
String |
description
Deprecated See BEA Commerce product offering |
Money |
msrp
Deprecated See BEA Commerce product offering |
String |
productIdentifier
Deprecated See BEA Commerce product offering |
double |
quantity
Deprecated See BEA Commerce product offering |
Money |
shipping
Deprecated See BEA Commerce product offering |
Money |
tax
Deprecated See BEA Commerce product offering |
double |
totalLineAmount
Deprecated See BEA Commerce product offering |
Money |
unitPrice
Deprecated See BEA Commerce product offering |
| Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
|---|
__classIdentifier, __containingBelonging, __containingEntity, __mapKey, __sequenceNumber, _isDirty |
| Constructor Summary | |
|---|---|
OrderLineImpl()
Deprecated See BEA Commerce product offering |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Deprecated See BEA Commerce product offering |
protected void |
freezeId()
Deprecated See BEA Commerce product offering |
ArrayList |
getAdjustmentPresentations()
Deprecated See BEA Commerce product offering |
String |
getDescription()
Deprecated See BEA Commerce product offering |
long |
getId()
Deprecated See BEA Commerce product offering |
Money |
getLineTotal(int totalType)
Deprecated See BEA Commerce product offering |
Money |
getMsrp()
Deprecated See BEA Commerce product offering |
String |
getProductIdentifier()
Deprecated See BEA Commerce product offering |
double |
getQuantity()
Deprecated See BEA Commerce product offering |
Money |
getShipping()
Deprecated See BEA Commerce product offering |
Money |
getTax()
Deprecated See BEA Commerce product offering |
double |
getTotalLineAmount()
Deprecated See BEA Commerce product offering |
Money |
getUnitPrice()
Deprecated See BEA Commerce product offering |
String |
interfaceName()
Deprecated See BEA Commerce product offering |
void |
setAdjustmentPresentations(ArrayList adjustmentPresentations)
Deprecated See BEA Commerce product offering |
void |
setByValue(Belonging value)
Deprecated See BEA Commerce product offering |
void |
setDescription(String description)
Deprecated See BEA Commerce product offering |
void |
setId(long id)
Deprecated See BEA Commerce product offering |
void |
setMsrp(Money msrp)
Deprecated See BEA Commerce product offering |
void |
setProductIdentifier(String productIdentifier)
Deprecated See BEA Commerce product offering |
void |
setQuantity(double quantity)
Deprecated See BEA Commerce product offering |
void |
setShipping(Money shipping)
Deprecated See BEA Commerce product offering |
void |
setTax(Money tax)
Deprecated See BEA Commerce product offering |
void |
setTotalLineAmount(double totalLineAmount)
Deprecated See BEA Commerce product offering |
void |
setUnitPrice(Money unitPrice)
Deprecated See BEA Commerce product offering |
Belonging |
value()
Deprecated See BEA Commerce product offering |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.beasys.commerce.foundation.Belonging |
|---|
clone, equals |
| Field Detail |
|---|
public double quantity
public double totalLineAmount
public Money tax
public Money unitPrice
public Money shipping
public Money msrp
public String productIdentifier
public String description
public ArrayList adjustmentPresentations
| Constructor Detail |
|---|
public OrderLineImpl()
| Method Detail |
|---|
public double getQuantity()
getQuantity in interface OrderLinepublic void setQuantity(double quantity)
setQuantity in interface OrderLinequantity - quantity to be addedpublic double getTotalLineAmount()
getTotalLineAmount in interface OrderLinepublic void setTotalLineAmount(double totalLineAmount)
setTotalLineAmount in interface OrderLinesubTotalAmount - subTotalAmount to be addedpublic Money getTax()
getTax in interface OrderLinepublic void setTax(Money tax)
setTax in interface OrderLinetax - tax to be addedpublic Money getUnitPrice()
getUnitPrice in interface OrderLinepublic void setUnitPrice(Money unitPrice)
setUnitPrice in interface OrderLineunitPrice - unitPrice to be addedpublic Money getShipping()
getShipping in interface OrderLinepublic void setShipping(Money shipping)
setShipping in interface OrderLineshipping - shipping to be addedpublic String getProductIdentifier()
getProductIdentifier in interface OrderLinepublic void setProductIdentifier(String productIdentifier)
setProductIdentifier in interface OrderLineproductIdentifier - productIdentifier to be addedpublic Money getMsrp()
getMsrp in interface OrderLinepublic void setMsrp(Money msrp)
setMsrp in interface OrderLineMsrp - Msrp to be addedpublic String getDescription()
getDescription in interface OrderLinepublic void setDescription(String description)
setDescription in interface OrderLinedescription - description to be addedpublic ArrayList getAdjustmentPresentations()
getAdjustmentPresentations in interface OrderLinepublic void setAdjustmentPresentations(ArrayList adjustmentPresentations)
setAdjustmentPresentations in interface OrderLineadjustments, - the list of OrderDiscountPresentationspublic long getId()
getId in interface OrderLinepublic void setId(long id)
setId in interface OrderLineid - the long order line id.protected void freezeId()
public Belonging value()
value in interface Belongingpublic String interfaceName()
interfaceName in interface Belongingpublic void setByValue(Belonging value)
It is also possible to call set-by-value with a subclass. In this case, the specialized fields in the subclass will be ignored. The overridden fields in the subclass will be populated.
setByValue in interface BelongingsetByValue in class BelongingImplvalue - The Belonging to use for initialization.public int compareTo(Object o)
compareTo in interface ComparablecompareTo in class BelongingImplo - target object for comparision
public Money getLineTotal(int totalType)
throws InvalidArgumentException
getLineTotal in interface OrderLinetotal - type
InvalidArgumentException
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||