|
© 2002 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 FormField 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 |
Field Detail |
public java.util.List line
public TaxInformation total
Constructor Detail |
public TaxResultImpl()
Method Detail |
public java.util.List getLine()
public void setLine(java.util.List list)
line
- to be setpublic TaxInformation getTotal()
public void setTotal(TaxInformation total)
total
- total to be addedpublic Belonging value()
public java.lang.String interfaceName()
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.
public int compareTo(java.lang.Object o)
o
- target object for comparisionpublic void calculateTotals()
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |