com.beasys.commerce.ebusiness.tax
Interface TaxInformation

All Superinterfaces
Belonging, BusinessSmartComponent, Cloneable, Comparable, Serializable
All Known Implementing Classes:
TaxInformationImpl

public interface TaxInformation
extends Belonging

A Tax Information class is used to report the taxes totals for each entity. total is the sum of all children taxlineresult.tax Attribute: total This is the total tax for the order or the line item.

Attribute: entityTax

See Also
TaxInformationHome, TaxInformationImpl

Method Summary
 boolean addEntityTax(TaxLineResult element)
          Ensures that this collection contains the specified element (optional operation).
 boolean addEntityTaxCollection(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).
 boolean containsEntityTax(TaxLineResult element)
          Returns true if this collection contains the specified element.
 boolean containsEntityTaxCollection(Collection c)
          Returns true if this collection contains all of the elements in the specified collection.
 int entityTaxCollectionHashCode()
          Returns the hash code value for this collection.
 Iterator entityTaxCollectionIterator()
          Returns an iterator over the elements in this collection.
 int entityTaxCollectionSize()
          Returns the number of elements in this collection.
 boolean equalsEntityTaxCollection(Object object)
          Compares the specified object with this collection for equality.
 Collection getEntityTaxCollection()
          Returns the entire collection
 Price getTotal()
          Get the value of total
 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(Collection collection)
          Removes all this collection's elements that are also contained in the specified collection (optional operation).
 boolean retainEntityTaxCollection(Collection collection)
          Retains only the elements in this collection that are contained in the specified collection (optional operation).
 void setEntityTaxCollection(Collection collection)
          Sets the entire collection
 void setTotal(Price total)
          Set the value of total
 
Methods inherited from interface com.beasys.commerce.foundation.Belonging
clone, equals, interfaceName, setByValue, value
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getTotal

Price getTotal()
Get the value of total

Returns
total.

setTotal

void setTotal(Price total)
Set the value of total

Parameters
total - total to be added

getEntityTaxCollection

Collection getEntityTaxCollection()
Returns the entire collection


setEntityTaxCollection

void setEntityTaxCollection(Collection collection)
Sets the entire collection


addEntityTax

boolean addEntityTax(TaxLineResult element)
Ensures that this collection contains the specified element (optional operation).


addEntityTaxCollection

boolean addEntityTaxCollection(Collection collection)
Adds all of the elements in the specified collection to this collection (optional operation).


clearEntityTaxCollection

void clearEntityTaxCollection()
Removes all of the elements from this collection (optional operation).


containsEntityTax

boolean containsEntityTax(TaxLineResult element)
Returns true if this collection contains the specified element.


containsEntityTaxCollection

boolean containsEntityTaxCollection(Collection c)
Returns true if this collection contains all of the elements in the specified collection.


equalsEntityTaxCollection

boolean equalsEntityTaxCollection(Object object)
Compares the specified object with this collection for equality.


entityTaxCollectionHashCode

int entityTaxCollectionHashCode()
Returns the hash code value for this collection.


isEntityTaxCollectionEmpty

boolean isEntityTaxCollectionEmpty()
Returns true if this collection contains no elements.


entityTaxCollectionIterator

Iterator entityTaxCollectionIterator()
Returns an iterator over the elements in this collection.


removeEntityTax

boolean removeEntityTax(TaxLineResult element)
Removes a single instance of the specified element from this collection, if it is present (optional operation).


removeEntityTaxCollection

boolean removeEntityTaxCollection(Collection collection)
Removes all this collection's elements that are also contained in the specified collection (optional operation).


retainEntityTaxCollection

boolean retainEntityTaxCollection(Collection collection)
Retains only the elements in this collection that are contained in the specified collection (optional operation).


entityTaxCollectionSize

int entityTaxCollectionSize()
Returns the number of elements in this collection.



Copyright © 2006 BEA Systems, Inc. All Rights Reserved