|
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 FormField 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 OrderLine
public void setQuantity(double quantity)
setQuantity
in interface OrderLine
quantity
- quantity to be addedpublic double getTotalLineAmount()
getTotalLineAmount
in interface OrderLine
public void setTotalLineAmount(double totalLineAmount)
setTotalLineAmount
in interface OrderLine
subTotalAmount
- subTotalAmount to be addedpublic Money getTax()
getTax
in interface OrderLine
public void setTax(Money tax)
setTax
in interface OrderLine
tax
- tax to be addedpublic Money getUnitPrice()
getUnitPrice
in interface OrderLine
public void setUnitPrice(Money unitPrice)
setUnitPrice
in interface OrderLine
unitPrice
- unitPrice to be addedpublic Money getShipping()
getShipping
in interface OrderLine
public void setShipping(Money shipping)
setShipping
in interface OrderLine
shipping
- shipping to be addedpublic String getProductIdentifier()
getProductIdentifier
in interface OrderLine
public void setProductIdentifier(String productIdentifier)
setProductIdentifier
in interface OrderLine
productIdentifier
- productIdentifier to be addedpublic Money getMsrp()
getMsrp
in interface OrderLine
public void setMsrp(Money msrp)
setMsrp
in interface OrderLine
Msrp
- Msrp to be addedpublic String getDescription()
getDescription
in interface OrderLine
public void setDescription(String description)
setDescription
in interface OrderLine
description
- description to be addedpublic ArrayList getAdjustmentPresentations()
getAdjustmentPresentations
in interface OrderLine
public void setAdjustmentPresentations(ArrayList adjustmentPresentations)
setAdjustmentPresentations
in interface OrderLine
adjustments,
- the list of OrderDiscountPresentationspublic long getId()
getId
in interface OrderLine
public void setId(long id)
setId
in interface OrderLine
id
- the long order line id.protected void freezeId()
public Belonging value()
value
in interface Belonging
public String interfaceName()
interfaceName
in interface Belonging
public 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 Belonging
setByValue
in class BelongingImpl
value
- The Belonging
to use for initialization.public int compareTo(Object o)
compareTo
in interface Comparable
compareTo
in class BelongingImpl
o
- target object for comparision
public Money getLineTotal(int totalType) throws InvalidArgumentException
getLineTotal
in interface OrderLine
total
- 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 |