|
© 2003 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.beasys.commerce.foundation.BelongingImpl
|
+--com.beasys.commerce.ebusiness.tax.TaxResultImpl
A holder for various taxinfo belongings: total: A summary of all taxes and reasons line: A ordered list of lines that correspond to various taxes. The order is the same as the order of the taxlinelist being used to generate the taxes.
TaxResult,
TaxResultHome,
Serialized Form| Field Summary | |
List |
line
One TaxInformation for each line in the original order. |
TaxInformation |
total
The total information for the order that was processed. |
| Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
__classIdentifier, __containingBelonging, __containingEntity, __mapKey, __sequenceNumber, _isDirty |
| Constructor Summary | |
TaxResultImpl()
|
|
| Method Summary | |
void |
calculateTotals()
This method should be called by anyone constructing TaxResults, it will calculate the total TaxInformation attribute. |
int |
compareTo(Object o)
Compare this belonging to another |
List |
getLine()
Get the value of line |
TaxInformation |
getTotal()
Get the value of total |
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 |
setLine(List list)
Set the value of Line |
void |
setTotal(TaxInformation total)
Set the value of total |
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 List line
public TaxInformation total
| Constructor Detail |
public TaxResultImpl()
| Method Detail |
public List getLine()
getLine in interface TaxResultpublic void setLine(List list)
setLine in interface TaxResultpublic TaxInformation getTotal()
getTotal in interface TaxResultpublic void setTotal(TaxInformation total)
setTotal in interface TaxResulttotal - total 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 BelongingImplpublic int compareTo(Object o)
compareTo in interface ComparablecompareTo in class BelongingImplo - target object for comparision
public void calculateTotals()
calculateTotals in interface TaxResult
|
© 2003 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||