|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.foundation.BelongingImpl com.beasys.commerce.ebusiness.tax.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 FormField 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 Map location
public TreeMap orderAttribs
Constructor Detail |
public TaxParametersImpl()
Method Detail |
public void addAttrib(String name, Object obj)
addAttrib
in interface TaxParameters
public void clearLocationMap()
clearLocationMap
in interface TaxParameters
public int compareTo(Object o)
compareTo
in interface Comparable
compareTo
in class BelongingImpl
o
- target object for comparision
public boolean equalsLocationMap(Object object)
equalsLocationMap
in interface TaxParameters
public Object getAttrib(String name)
getAttrib
in interface TaxParameters
public com.beasys.commerce.axiom.contact.Address getLocation(Object key)
getLocation
in interface TaxParameters
public Map getLocationMap()
getLocationMap
in interface TaxParameters
public TreeMap getOrderAttribs()
getOrderAttribs
in interface TaxParameters
public String interfaceName()
interfaceName
in interface Belonging
public boolean isLocationMapEmpty()
isLocationMapEmpty
in interface TaxParameters
public boolean locationMapContainsKey(Object key)
locationMapContainsKey
in interface TaxParameters
public boolean locationMapContainsValue(com.beasys.commerce.axiom.contact.Address element)
locationMapContainsValue
in interface TaxParameters
public Set locationMapEntrySet()
locationMapEntrySet
in interface TaxParameters
public int locationMapHashCode()
locationMapHashCode
in interface TaxParameters
public Iterator locationMapIterator()
locationMapIterator
in interface TaxParameters
public Set locationMapKeySet()
locationMapKeySet
in interface TaxParameters
public int locationMapSize()
locationMapSize
in interface TaxParameters
public Collection locationMapValues()
locationMapValues
in interface TaxParameters
public com.beasys.commerce.axiom.contact.Address putLocation(Object key, com.beasys.commerce.axiom.contact.Address element)
putLocation
in interface TaxParameters
public void putLocationMap(Map map)
putLocationMap
in interface TaxParameters
public com.beasys.commerce.axiom.contact.Address removeLocation(Object key)
removeLocation
in interface TaxParameters
public 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 Belonging
setByValue
in class BelongingImpl
value
- The Belonging
to use for initialization.public void setLocationMap(Map map)
setLocationMap
in interface TaxParameters
public void setOrderAttribs(TreeMap orderAttribs)
setOrderAttribs
in interface TaxParameters
public Belonging value()
value
in interface Belonging
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |