|
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.Objectcom.beasys.commerce.foundation.BelongingImpl
com.beasys.commerce.ebusiness.tax.TaxInformationImpl
@Deprecated public class 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 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 java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.beasys.commerce.foundation.Belonging |
|---|
clone, equals |
| Field Detail |
|---|
public Price total
public Collection entityTax
| Constructor Detail |
|---|
public TaxInformationImpl()
| Method Detail |
|---|
public Price getTotal()
getTotal in interface TaxInformationpublic void setTotal(Price total)
setTotal in interface TaxInformationtotal - total to be addedpublic Collection getEntityTaxCollection()
getEntityTaxCollection in interface TaxInformationpublic void setEntityTaxCollection(Collection collection)
setEntityTaxCollection in interface TaxInformationpublic boolean addEntityTax(TaxLineResult element)
addEntityTax in interface TaxInformationpublic boolean addEntityTaxCollection(Collection collection)
addEntityTaxCollection in interface TaxInformationpublic void clearEntityTaxCollection()
clearEntityTaxCollection in interface TaxInformationpublic boolean containsEntityTax(TaxLineResult element)
containsEntityTax in interface TaxInformationpublic boolean containsEntityTaxCollection(Collection collection)
containsEntityTaxCollection in interface TaxInformationpublic boolean equalsEntityTaxCollection(Object object)
equalsEntityTaxCollection in interface TaxInformationpublic int entityTaxCollectionHashCode()
entityTaxCollectionHashCode in interface TaxInformationpublic boolean isEntityTaxCollectionEmpty()
isEntityTaxCollectionEmpty in interface TaxInformationpublic Iterator entityTaxCollectionIterator()
entityTaxCollectionIterator in interface TaxInformationpublic boolean removeEntityTax(TaxLineResult element)
removeEntityTax in interface TaxInformationpublic boolean removeEntityTaxCollection(Collection collection)
removeEntityTaxCollection in interface TaxInformationpublic boolean retainEntityTaxCollection(Collection collection)
retainEntityTaxCollection in interface TaxInformationpublic int entityTaxCollectionSize()
entityTaxCollectionSize in interface TaxInformationpublic Belonging value()
value in interface Belongingpublic String interfaceName()
interfaceName in interface Belongingpublic 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 BelongingsetByValue in class BelongingImplvalue - The Belonging to use for initialization.public int compareTo(Object o)
compareTo in interface ComparablecompareTo in class BelongingImplo - target object for comparision
|
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 | ||||||||