© 2005 BEA Systems, Inc.

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

addEntityTax

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


addEntityTaxCollection

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


clearEntityTaxCollection

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


containsEntityTax

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


containsEntityTaxCollection

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


entityTaxCollectionHashCode

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


entityTaxCollectionIterator

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


entityTaxCollectionSize

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


equalsEntityTaxCollection

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


getEntityTaxCollection

public Collection getEntityTaxCollection()
Returns the entire collection


getTotal

public Price getTotal()
Get the value of total

Returns:
total.

isEntityTaxCollectionEmpty

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


removeEntityTax

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


removeEntityTaxCollection

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


retainEntityTaxCollection

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


setEntityTaxCollection

public void setEntityTaxCollection(Collection collection)
Sets the entire collection


setTotal

public void setTotal(Price total)
Set the value of total

Parameters:
total - total to be added

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved