|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
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
@Deprecated public class 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 | |
---|---|
List |
line
Deprecated One TaxInformation for each line in the original order. |
TaxInformation |
total
Deprecated 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()
Deprecated |
Method Summary | |
---|---|
void |
calculateTotals()
Deprecated This method should be called by anyone constructing TaxResults, it will calculate the total TaxInformation attribute. |
int |
compareTo(Object o)
Deprecated Compare this belonging to another |
List |
getLine()
Deprecated Get the value of line |
TaxInformation |
getTotal()
Deprecated Get the value of total |
String |
interfaceName()
Deprecated interfaceName() returns the unqualified name of the interface from the UML model |
void |
setByValue(Belonging value)
Deprecated It is possible to call set-by-value with a superclass. |
void |
setLine(List list)
Deprecated Set the value of Line |
void |
setTotal(TaxInformation total)
Deprecated Set the value of total |
Belonging |
value()
Deprecated 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 TaxResult
public void setLine(List list)
setLine
in interface TaxResult
line
- to be setpublic TaxInformation getTotal()
getTotal
in interface TaxResult
public void setTotal(TaxInformation total)
setTotal
in interface TaxResult
total
- total to be addedpublic Belonging value()
value
in interface Belonging
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 int compareTo(Object o)
compareTo
in interface Comparable
compareTo
in class BelongingImpl
o
- target object for comparision
public void calculateTotals()
calculateTotals
in interface TaxResult
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |