Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.beasys.commerce.ebusiness.tax
Class TaxInformationImpl

    java.lang.Object
      com.beasys.commerce.foundation.BelongingImpl
          com.beasys.commerce.ebusiness.tax.TaxInformationImpl

All Implemented Interfaces
  TaxInformation, Belonging, BusinessSmartComponent, RelationalReference, Serializable, Cloneable, Comparable

Deprecated

    @Deprecated
    public class TaxInformationImpl

extends BelongingImpl
implements TaxInformation, Cloneable

A Tax Information class is used to report the taxes totals for each entity. total is the sum of all children taxlineresult.tax

See Also
  `TaxInformation`, `TaxInformationHome`, Serialized Form

Field Summary
`Collection` | `entityTax` Deprecated Containment: By Value Multiplicity: 0:N Interface: java.util.Collection
`Price` | `total` Deprecated 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()` Deprecated

Method Summary
`boolean` | `addEntityTax(TaxLineResult element)` Deprecated Ensures that this collection contains the specified element (optional operation).
`boolean` | `addEntityTaxCollection(Collection collection)` Deprecated Adds all of the elements in the specified collection to this collection (optional operation).
`void` | `clearEntityTaxCollection()` Deprecated Removes all of the elements from this collection (optional operation).
`int` | `compareTo(Object o)` Deprecated Compare this belonging to another
`boolean` | `containsEntityTax(TaxLineResult element)` Deprecated Returns true if this collection contains the specified element.
`boolean` | `containsEntityTaxCollection(Collection collection)` Deprecated Returns true if this collection contains all of the elements in the specified collection.
`int` | `entityTaxCollectionHashCode()` Deprecated Returns the hash code value for this collection.
`Iterator` | `entityTaxCollectionIterator()` Deprecated Returns an iterator over the elements in this collection.
`int` | `entityTaxCollectionSize()` Deprecated Returns the number of elements in this collection.
`boolean` | `equalsEntityTaxCollection(Object object)` Deprecated Compares the specified object with this collection for equality.
`Collection` | `getEntityTaxCollection()` Deprecated Returns a deep copy of the entire collection
`Price` | `getTotal()` Deprecated Get the value of total
`String` | `interfaceName()` Deprecated interfaceName() returns the unqualified name of the interface from the UML model
`boolean` | `isEntityTaxCollectionEmpty()` Deprecated Returns true if this collection contains no elements.
`boolean` | `removeEntityTax(TaxLineResult element)` Deprecated Removes a single instance of the specified element from this collection, if it is present (optional operation).
`boolean` | `removeEntityTaxCollection(Collection collection)` Deprecated Removes all this collection's elements that are also contained in the specified collection (optional operation).
`boolean` | `retainEntityTaxCollection(Collection collection)` Deprecated Retains only the elements in this collection that are contained in the specified collection (optional operation).
`void` | `setByValue(Belonging value)` Deprecated It is possible to call set-by-value with a superclass.
`void` | `setEntityTaxCollection(Collection collection)` Deprecated Sets the entire collection
`void` | `setTotal(Price total)` Deprecated Set the value of total
`Belonging` | `value()` Deprecated value() is a more typesafe implementation of clone()

Methods inherited from class com.beasys.commerce.foundation.BelongingImpl
`clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clone, doRelationalBinding, doRelationalBinding, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, enumerateRelationalBinding, enumerateRelationalBinding, equals, get__classIdentifier, get__containingBelonging, get__containingEntity, get__containingEntityReference, get__mapKey, get__sequenceNumber, getPersistenceHelperPlugin, hashCode, set__classIdentifier, set__containingBelonging, set__containingEntity, set__containingEntityReference, set__mapKey, toString`

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

### total

    public Price total

  Deprecated
  This is the total tax for the order or the line item.
  - Containment: By Value
  - Multiplicity: 1:1

### entityTax

    public Collection entityTax

  Deprecated
  - Containment: By Value
  - Multiplicity: 0:N
  - Interface: java.util.Collection

Constructor Detail

### TaxInformationImpl

    public TaxInformationImpl()

  Deprecated

Method Detail

### getTotal

    public Price getTotal()

  Deprecated
  Get the value of total

  Specified by:
    `getTotal` in interface `TaxInformation`
  Returns
    total.

### setTotal

    public void setTotal(Price total)

  Deprecated
  Set the value of total

  Specified by:
    `setTotal` in interface `TaxInformation`
  Parameters
    `total` - total to be added

### getEntityTaxCollection

    public Collection getEntityTaxCollection()

  Deprecated
  Returns a deep copy of the entire collection

  Specified by:
    `getEntityTaxCollection` in interface `TaxInformation`

### setEntityTaxCollection

    public void setEntityTaxCollection(Collection collection)

  Deprecated
  Sets the entire collection

  Specified by:
    `setEntityTaxCollection` in interface `TaxInformation`

### addEntityTax

    public boolean addEntityTax(TaxLineResult element)

  Deprecated
  Ensures that this collection contains the specified element (optional operation).

  Specified by:
    `addEntityTax` in interface `TaxInformation`

### addEntityTaxCollection

    public boolean addEntityTaxCollection(Collection collection)

  Deprecated
  Adds all of the elements in the specified collection to this collection (optional operation).

  Specified by:
    `addEntityTaxCollection` in interface `TaxInformation`

### clearEntityTaxCollection

    public void clearEntityTaxCollection()

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

  Specified by:
    `clearEntityTaxCollection` in interface `TaxInformation`

### containsEntityTax

    public boolean containsEntityTax(TaxLineResult element)

  Deprecated
  Returns true if this collection contains the specified element.

  Specified by:
    `containsEntityTax` in interface `TaxInformation`

### containsEntityTaxCollection

    public boolean containsEntityTaxCollection(Collection collection)

  Deprecated
  Returns true if this collection contains all of the elements in the specified collection.

  Specified by:
    `containsEntityTaxCollection` in interface `TaxInformation`

### equalsEntityTaxCollection

    public boolean equalsEntityTaxCollection(Object object)

  Deprecated
  Compares the specified object with this collection for equality.

  Specified by:
    `equalsEntityTaxCollection` in interface `TaxInformation`

### entityTaxCollectionHashCode

    public int entityTaxCollectionHashCode()

  Deprecated
  Returns the hash code value for this collection.

  Specified by:
    `entityTaxCollectionHashCode` in interface `TaxInformation`

### isEntityTaxCollectionEmpty

    public boolean isEntityTaxCollectionEmpty()

  Deprecated
  Returns true if this collection contains no elements.

  Specified by:
    `isEntityTaxCollectionEmpty` in interface `TaxInformation`

### entityTaxCollectionIterator

    public Iterator entityTaxCollectionIterator()

  Deprecated
  Returns an iterator over the elements in this collection.

  Specified by:
    `entityTaxCollectionIterator` in interface `TaxInformation`

### removeEntityTax

    public boolean removeEntityTax(TaxLineResult element)

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

  Specified by:
    `removeEntityTax` in interface `TaxInformation`

### removeEntityTaxCollection

    public boolean removeEntityTaxCollection(Collection collection)

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

  Specified by:
    `removeEntityTaxCollection` in interface `TaxInformation`

### retainEntityTaxCollection

    public boolean retainEntityTaxCollection(Collection collection)

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

  Specified by:
    `retainEntityTaxCollection` in interface `TaxInformation`

### entityTaxCollectionSize

    public int entityTaxCollectionSize()

  Deprecated
  Returns the number of elements in this collection.

  Specified by:
    `entityTaxCollectionSize` in interface `TaxInformation`

### value

    public Belonging value()

  Deprecated
  value() is a more typesafe implementation of clone()

  Specified by:
    `value` in interface `Belonging`
  Returns
    a clone of this instance

### interfaceName

    public String interfaceName()

  Deprecated
  interfaceName() returns the unqualified name of the interface from the UML model

  Specified by:
    `interfaceName` in interface `Belonging`
  Returns
    the unqualified name of the belonging interface from the UML model

### setByValue

    public void setByValue(Belonging value)

  Deprecated
  It is possible to call set-by-value with a superclass. If that is the case, only the fields in the superclass will be set in this instance. The remaining fields get the default values.

  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.

  Specified by:
    `setByValue` in interface `Belonging`
  Overrides:
    `setByValue` in class `BelongingImpl`
  Parameters
    `value` - The `Belonging` to use for initialization.

### compareTo

    public int compareTo(Object o)

  Deprecated
  Compare this belonging to another

  Specified by:
    `compareTo` in interface `Comparable`
  Specified by:
    `compareTo` in class `BelongingImpl`
  Parameters
    `o` - target object for comparision
  Returns
    0 objects are equal

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.