|
Copyright © 2006 BEA Systems, Inc. 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.TaxParametersImpl
public class TaxParametersImpl
Currently defined locations include: ShipTo ShipFrom OrderAcceptance OrderOrigin Currently defined order-based attributes include: (listed with "name" (type) (default) explanation. None are required.) freight (com.beasys.commerce.axiom.units.Price)(0) commit (Boolean) (True) store the tax in the audit file or not credit (Boolean) (False) for credit transactions titlePassage(Char) (D)-O for point of Origin, D for point of Delivery date (java.sql.Date) (current system Date) date of tax taxType (Character) (S) S for sales tax U for use tax companyID (String) (PlaceHolder) The name of the source company for the transaction overrideTax (Double) (0) The override tax rate as a fraction, 0.0 means no override
TaxParameters,
TaxParametersHome,
Serialized Form| Field Summary | |
|---|---|
Map |
location
Containment: By Value Multiplicity: 0:N Interface: java.util.Map |
TreeMap |
orderAttribs
|
| Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
|---|
__classIdentifier, __containingBelonging, __containingEntity, __mapKey, __sequenceNumber, _isDirty |
| Fields inherited from interface com.beasys.commerce.ebusiness.tax.TaxParameters |
|---|
BUSINESSLOCATIONCODE, BUYERREGISTRATIONNUMBER, COMMIT, COMPANYID, COUNTRYOFORIGIN, CREDIT, CURRENCY, DATE, DELIVERYTERMS, DISTANCESALEINDICATOR, DOCUMENTNUMBER, FREIGHT, MODEOFTRANSPORT, NETMASS, NOTC, ORDERACCEPTANCE, ORDERORIGIN, REGIONOFORIGINORDESTINATION, SELLERREGISTRATIONNUMBER, SHIPFROM, SHIPTO, STATISTICALPROCEDURECODE, TAXDEBUG, TAXSELPARM, TAXTYPE, TITLEPASSAGE, TRANSACTIONTYPE, WTCODE |
| Constructor Summary | |
|---|---|
TaxParametersImpl()
|
|
| Method Summary | |
|---|---|
void |
addAttrib(String name,
Object obj)
adds an attribute to the attributes in TaxParameter. |
void |
clearLocationMap()
Removes all mappings from this map (optional operation). |
int |
compareTo(Object o)
Compare this belonging to another |
boolean |
equalsLocationMap(Object object)
Compares the specified object with this map for equality. |
Object |
getAttrib(String name)
returns an object that has the given string as attirbute. |
com.beasys.commerce.axiom.contact.Address |
getLocation(Object key)
Returns the value to which this map maps the specified key. |
Map |
getLocationMap()
Returns a deep copy of the entire collection |
TreeMap |
getOrderAttribs()
For ease of use, in case the same parameters need to be reused. |
String |
interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model |
boolean |
isLocationMapEmpty()
Returns true if this map contains no key-value mappings. |
boolean |
locationMapContainsKey(Object key)
Returns true if this map contains a mapping for the specified key. |
boolean |
locationMapContainsValue(com.beasys.commerce.axiom.contact.Address element)
Returns true if this map maps one or more keys to the specified value. |
Set |
locationMapEntrySet()
Returns a (deep copy) set view of the mappings contained in this map. |
int |
locationMapHashCode()
Returns the hash code value for this map. |
Iterator |
locationMapIterator()
Returns a (shallow) iterator for this map |
Set |
locationMapKeySet()
Returns a (deep copy) set view of the keys contained in this map. |
int |
locationMapSize()
Returns the number of key-value mappings in this map. |
Collection |
locationMapValues()
Returns a (deep copy) collection view of the values contained in this map. |
com.beasys.commerce.axiom.contact.Address |
putLocation(Object key,
com.beasys.commerce.axiom.contact.Address element)
Associates the specified value with the specified key in this map (optional operation). |
void |
putLocationMap(Map map)
Copies all of the mappings from the specified map to this map (optional operation). |
com.beasys.commerce.axiom.contact.Address |
removeLocation(Object key)
Removes the mapping for this key from this map if present (optional operation). |
void |
setByValue(Belonging value)
It is possible to call set-by-value with a superclass. |
void |
setLocationMap(Map map)
Sets the entire collection |
void |
setOrderAttribs(TreeMap orderAttribs)
For ease of use, if desired, the entire set of attributes may be set. |
Belonging |
value()
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 TreeMap orderAttribs
public Map location
| Constructor Detail |
|---|
public TaxParametersImpl()
| Method Detail |
|---|
public Map getLocationMap()
getLocationMap in interface TaxParameterspublic void setLocationMap(Map map)
setLocationMap in interface TaxParameterspublic Iterator locationMapIterator()
locationMapIterator in interface TaxParameterspublic void clearLocationMap()
clearLocationMap in interface TaxParameterspublic boolean locationMapContainsKey(Object key)
locationMapContainsKey in interface TaxParameterspublic boolean locationMapContainsValue(com.beasys.commerce.axiom.contact.Address element)
locationMapContainsValue in interface TaxParameterspublic Set locationMapEntrySet()
locationMapEntrySet in interface TaxParameterspublic boolean equalsLocationMap(Object object)
equalsLocationMap in interface TaxParameterspublic com.beasys.commerce.axiom.contact.Address getLocation(Object key)
getLocation in interface TaxParameterspublic int locationMapHashCode()
locationMapHashCode in interface TaxParameterspublic boolean isLocationMapEmpty()
isLocationMapEmpty in interface TaxParameterspublic Set locationMapKeySet()
locationMapKeySet in interface TaxParameters
public com.beasys.commerce.axiom.contact.Address putLocation(Object key,
com.beasys.commerce.axiom.contact.Address element)
putLocation in interface TaxParameterspublic void putLocationMap(Map map)
putLocationMap in interface TaxParameterspublic com.beasys.commerce.axiom.contact.Address removeLocation(Object key)
removeLocation in interface TaxParameterspublic int locationMapSize()
locationMapSize in interface TaxParameterspublic Collection locationMapValues()
locationMapValues in interface TaxParameterspublic 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
public void addAttrib(String name,
Object obj)
addAttrib in interface TaxParameterspublic Object getAttrib(String name)
getAttrib in interface TaxParameterspublic void setOrderAttribs(TreeMap orderAttribs)
setOrderAttribs in interface TaxParameterspublic TreeMap getOrderAttribs()
getOrderAttribs in interface TaxParameters
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||