|
© 2002 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.beasys.commerce.foundation.BelongingImpl
|
+--com.beasys.commerce.ebusiness.tax.TaxLineImpl
Has all the information from orderline required to do taxing, may be generated from an orderline.
TaxLine,
TaxLineHome, Serialized Form| Field Summary | |
Price |
discountedPriceAmt
Containment: By Value Multiplicity: 1:1 |
Price |
freight
Containment: By Value Multiplicity: 1:1 |
Price |
price
Containment: By Value Multiplicity: 1:1 |
Quantity |
quantity
Containment: By Value Multiplicity: 1:1 |
java.lang.String |
taxCode
Containment: By Value Multiplicity: 1:1 |
| Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
__classIdentifier,
__containingBelonging,
__containingEntity,
__mapKey,
__sequenceNumber,
_isDirty |
| Constructor Summary | |
TaxLineImpl()
|
|
| Method Summary | |
int |
compareTo(java.lang.Object o)
Compare this belonging to another |
Price |
getDiscountedPriceAmount()
Get the value of the discounted price |
Price |
getFreight()
Get the value of freight |
Price |
getPrice()
Get the value of price |
Quantity |
getQuantity()
Get the value of quantity |
java.lang.String |
getTaxCode()
Get the value of taxCode |
java.lang.String |
interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model |
void |
setByValue(Belonging value)
It is possible to call set-by-value with a superclass. |
void |
setDiscountedPriceAmount(Price price)
Set the value of the discounted price |
void |
setFreight(Price freight)
Set the value of freight |
void |
setPrice(Price price)
Set the value of price |
void |
setQuantity(Quantity quantity)
Set the value of quantity |
void |
setTaxCode(java.lang.String taxCode)
Set the value of taxCode |
Belonging |
value()
value() is a more typesafe implementation of clone() |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public Price freight
public Price price
public Price discountedPriceAmt
public Quantity quantity
public java.lang.String taxCode
| Constructor Detail |
public TaxLineImpl()
| Method Detail |
public Price getFreight()
public void setFreight(Price freight)
freight - freight to be addedpublic Price getPrice()
public void setPrice(Price price)
price - price to be addedpublic Price getDiscountedPriceAmount()
public void setDiscountedPriceAmount(Price price)
price - price to be addedpublic Quantity getQuantity()
public void setQuantity(Quantity quantity)
quantity - quantity to be addedpublic java.lang.String getTaxCode()
public void setTaxCode(java.lang.String taxCode)
taxCode - taxCode to be addedpublic Belonging value()
public java.lang.String interfaceName()
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.
public int compareTo(java.lang.Object o)
o - target object for comparision
|
© 2002 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||