|
© 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.TaxInformationImpl
A Tax Information class is used to report the taxes totals for each entity. total is the sum of all children taxlineresult.tax
TaxInformation
,
TaxInformationHome
, Serialized FormField Summary | |
java.util.Collection |
entityTax
Containment: By Value Multiplicity: 0:N Interface: java.util.Collection |
Price |
total
This is the total tax for the order or the line item. |
Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
__classIdentifier,
__containingBelonging,
__containingEntity,
__mapKey,
__sequenceNumber,
_isDirty |
Constructor Summary | |
TaxInformationImpl()
|
Method Summary | |
boolean |
addEntityTax(TaxLineResult element)
Ensures that this collection contains the specified element (optional operation). |
boolean |
addEntityTaxCollection(java.util.Collection collection)
Adds all of the elements in the specified collection to this collection (optional operation). |
void |
clearEntityTaxCollection()
Removes all of the elements from this collection (optional operation). |
int |
compareTo(java.lang.Object o)
Compare this belonging to another |
boolean |
containsEntityTax(TaxLineResult element)
Returns true if this collection contains the specified element. |
boolean |
containsEntityTaxCollection(java.util.Collection collection)
Returns true if this collection contains all of the elements in the specified collection. |
int |
entityTaxCollectionHashCode()
Returns the hash code value for this collection. |
java.util.Iterator |
entityTaxCollectionIterator()
Returns an iterator over the elements in this collection. |
int |
entityTaxCollectionSize()
Returns the number of elements in this collection. |
boolean |
equalsEntityTaxCollection(java.lang.Object object)
Compares the specified object with this collection for equality. |
java.util.Collection |
getEntityTaxCollection()
Returns a deep copy of the entire collection |
Price |
getTotal()
Get the value of total |
java.lang.String |
interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model |
boolean |
isEntityTaxCollectionEmpty()
Returns true if this collection contains no elements. |
boolean |
removeEntityTax(TaxLineResult element)
Removes a single instance of the specified element from this collection, if it is present (optional operation). |
boolean |
removeEntityTaxCollection(java.util.Collection collection)
Removes all this collection's elements that are also contained in the specified collection (optional operation). |
boolean |
retainEntityTaxCollection(java.util.Collection collection)
Retains only the elements in this collection that are contained in the specified collection (optional operation). |
void |
setByValue(Belonging value)
It is possible to call set-by-value with a superclass. |
void |
setEntityTaxCollection(java.util.Collection collection)
Sets the entire collection |
void |
setTotal(Price 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 Price total
public java.util.Collection entityTax
Constructor Detail |
public TaxInformationImpl()
Method Detail |
public Price getTotal()
public void setTotal(Price total)
total
- total to be addedpublic java.util.Collection getEntityTaxCollection()
public void setEntityTaxCollection(java.util.Collection collection)
public boolean addEntityTax(TaxLineResult element)
public boolean addEntityTaxCollection(java.util.Collection collection)
public void clearEntityTaxCollection()
public boolean containsEntityTax(TaxLineResult element)
public boolean containsEntityTaxCollection(java.util.Collection collection)
public boolean equalsEntityTaxCollection(java.lang.Object object)
public int entityTaxCollectionHashCode()
public boolean isEntityTaxCollectionEmpty()
public java.util.Iterator entityTaxCollectionIterator()
public boolean removeEntityTax(TaxLineResult element)
public boolean removeEntityTaxCollection(java.util.Collection collection)
public boolean retainEntityTaxCollection(java.util.Collection collection)
public int entityTaxCollectionSize()
public 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 comparision
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |