|
© 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.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 | |
java.util.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(java.lang.Object o)
Compare this belonging to another |
java.util.List |
getLine()
Get the value of line |
TaxInformation |
getTotal()
Get the value of total |
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 |
setLine(java.util.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 java.util.List line
public TaxInformation total
| Constructor Detail |
public TaxResultImpl()
| Method Detail |
public java.util.List getLine()
getLine in interface TaxResultpublic void setLine(java.util.List list)
setLine in interface TaxResultline - to be setpublic TaxInformation getTotal()
getTotal in interface TaxResultpublic void setTotal(TaxInformation total)
setTotal in interface TaxResulttotal - total 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 comparisionpublic void calculateTotals()
calculateTotals in interface TaxResult
|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||