|
© 2001 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 |
freight
Containment: By Value Multiplicity: 1:1 |
Price |
price
Containment: By Value Multiplicity: 1:1 |
com.beasys.commerce.axiom.units.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 |
getFreight()
Get the value of freight |
Price |
getPrice()
Get the value of price |
com.beasys.commerce.axiom.units.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 |
setFreight(Price freight)
Set the value of freight |
void |
setPrice(Price price)
Set the value of price |
void |
setQuantity(com.beasys.commerce.axiom.units.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 |
| Methods inherited from interface com.beasys.commerce.foundation.Belonging |
clone, equals |
| Field Detail |
public Price freight
public Price price
public com.beasys.commerce.axiom.units.Quantity quantity
public java.lang.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 com.beasys.commerce.axiom.units.Quantity getQuantity()
getQuantity in interface TaxLinepublic void setQuantity(com.beasys.commerce.axiom.units.Quantity quantity)
setQuantity in interface TaxLinequantity - quantity to be addedpublic java.lang.String getTaxCode()
getTaxCode in interface TaxLinepublic void setTaxCode(java.lang.String taxCode)
setTaxCode in interface TaxLinetaxCode - taxCode to be addedpublic Belonging value()
value in interface Belongingpublic java.lang.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 BelongingImplcom.beasys.commerce.foundation.Belongingbelonging - The Belonging to use for initialization.public int compareTo(java.lang.Object o)
compareTo in interface java.lang.ComparablecompareTo in class BelongingImplo - target object for comparision
|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||