|
© 2005 BEA Systems, Inc. | |||||||||
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
Has all the information from orderline required to do taxing, may be generated from an orderline.
TaxLine
,
TaxLineHome
,
Serialized FormField 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 discountedPriceAmt
public Price freight
public Price price
public Quantity quantity
public String taxCode
Constructor Detail |
public TaxLineImpl()
Method Detail |
public int compareTo(Object o)
compareTo
in interface Comparable
compareTo
in class BelongingImpl
o
- target object for comparision
public Price getDiscountedPriceAmount()
getDiscountedPriceAmount
in interface TaxLine
public Price getFreight()
getFreight
in interface TaxLine
public Price getPrice()
getPrice
in interface TaxLine
public Quantity getQuantity()
getQuantity
in interface TaxLine
public String getTaxCode()
getTaxCode
in interface TaxLine
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 void setDiscountedPriceAmount(Price price)
setDiscountedPriceAmount
in interface TaxLine
price
- price to be addedpublic void setFreight(Price freight)
setFreight
in interface TaxLine
freight
- freight to be addedpublic void setPrice(Price price)
setPrice
in interface TaxLine
price
- price to be addedpublic void setQuantity(Quantity quantity)
setQuantity
in interface TaxLine
quantity
- quantity to be addedpublic void setTaxCode(String taxCode)
setTaxCode
in interface TaxLine
taxCode
- taxCode to be addedpublic Belonging value()
value
in interface Belonging
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |