|
Copyright © 2006 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.tax.TaxLineImpl
public class 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 |
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(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 |
String |
getTaxCode()
Get the value of taxCode |
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(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 |
| Methods inherited from interface com.beasys.commerce.foundation.Belonging |
|---|
clone, equals |
| Field Detail |
|---|
public Price freight
public Price price
public Price discountedPriceAmt
public Quantity quantity
public String taxCode
| Constructor Detail |
|---|
public TaxLineImpl()
| Method Detail |
|---|
public Price getFreight()
getFreight in interface TaxLinepublic void setFreight(Price freight)
setFreight in interface TaxLinefreight - freight to be addedpublic Price getPrice()
getPrice in interface TaxLinepublic void setPrice(Price price)
setPrice in interface TaxLineprice - price to be addedpublic Price getDiscountedPriceAmount()
getDiscountedPriceAmount in interface TaxLinepublic void setDiscountedPriceAmount(Price price)
setDiscountedPriceAmount in interface TaxLineprice - price to be addedpublic Quantity getQuantity()
getQuantity in interface TaxLinepublic void setQuantity(Quantity quantity)
setQuantity in interface TaxLinequantity - quantity to be addedpublic String getTaxCode()
getTaxCode in interface TaxLinepublic void setTaxCode(String taxCode)
setTaxCode in interface TaxLinetaxCode - taxCode to be addedpublic 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
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||