|
Copyright © 2000, 2008, 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.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 the list of OrderAdjustmentPresentation objects relating to a particular line. |
String |
description
Deprecated Containment: By Value Multiplicity: 1:1 |
Money |
msrp
Deprecated Containment: By Value Multiplicity: 1:1 |
String |
productIdentifier
Deprecated Containment: By Value Multiplicity: 1:1 |
double |
quantity
Deprecated Containment: By Value Multiplicity: 1:1 |
Money |
shipping
Deprecated Containment: By Value Multiplicity: 1:1 |
Money |
tax
Deprecated Containment: By Value Multiplicity: 1:1 |
double |
totalLineAmount
Deprecated The total for the line |
Money |
unitPrice
Deprecated Containment: By Value Multiplicity: 1:1 |
| Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
|---|
__classIdentifier, __containingBelonging, __containingEntity, __mapKey, __sequenceNumber, _isDirty |
| Constructor Summary | |
|---|---|
OrderLineImpl()
Deprecated |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Deprecated Compare this belonging to another |
protected void |
freezeId()
Deprecated Once this method is called, any calls to setId() will fail. |
ArrayList |
getAdjustmentPresentations()
Deprecated Get the list of OrderAdjustmentPresentation objects |
String |
getDescription()
Deprecated Get the value of description |
long |
getId()
Deprecated Get order line id. |
Money |
getLineTotal(int totalType)
Deprecated Gets the line total for the given total type |
Money |
getMsrp()
Deprecated Get the value of Msrp |
String |
getProductIdentifier()
Deprecated Get the value of productIdentifier |
double |
getQuantity()
Deprecated Get the value of quantity |
Money |
getShipping()
Deprecated Get the value of shipping |
Money |
getTax()
Deprecated Get the value of tax |
double |
getTotalLineAmount()
Deprecated Get the value of totalLineAmount |
Money |
getUnitPrice()
Deprecated Get the value of unitPrice |
String |
interfaceName()
Deprecated interfaceName() returns the unqualified name of the interface from the UML model |
void |
setAdjustmentPresentations(ArrayList adjustmentPresentations)
Deprecated Set the list of OrderAdjustmentPresentation object |
void |
setByValue(Belonging value)
Deprecated It is possible to call set-by-value with a superclass. |
void |
setDescription(String description)
Deprecated Set the value of description |
void |
setId(long id)
Deprecated Set the order line id. |
void |
setMsrp(Money msrp)
Deprecated Set the value of Msrp |
void |
setProductIdentifier(String productIdentifier)
Deprecated Set the value of productIdentifier |
void |
setQuantity(double quantity)
Deprecated Set the value of quantity |
void |
setShipping(Money shipping)
Deprecated Set the value of shipping |
void |
setTax(Money tax)
Deprecated Set the value of tax |
void |
setTotalLineAmount(double totalLineAmount)
Deprecated Set the value of subTotalAmount |
void |
setUnitPrice(Money unitPrice)
Deprecated Set the value of unitPrice |
Belonging |
value()
Deprecated value() is a more typesafe implementation of clone() |
| 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 © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||