|
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 |
java.lang.Object com.beasys.commerce.foundation.BelongingImpl com.beasys.commerce.ebusiness.tax.TaxParametersImpl
@Deprecated 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 FormField Summary | |
---|---|
Map |
location
Deprecated Containment: By Value Multiplicity: 0:N Interface: java.util.Map |
TreeMap |
orderAttribs
Deprecated |
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()
Deprecated |
Method Summary | |
---|---|
void |
addAttrib(String name,
Object obj)
Deprecated adds an attribute to the attributes in TaxParameter. |
void |
clearLocationMap()
Deprecated Removes all mappings from this map (optional operation). |
int |
compareTo(Object o)
Deprecated Compare this belonging to another |
boolean |
equalsLocationMap(Object object)
Deprecated Compares the specified object with this map for equality. |
Object |
getAttrib(String name)
Deprecated returns an object that has the given string as attirbute. |
com.beasys.commerce.axiom.contact.Address |
getLocation(Object key)
Deprecated Returns the value to which this map maps the specified key. |
Map |
getLocationMap()
Deprecated Returns a deep copy of the entire collection |
TreeMap |
getOrderAttribs()
Deprecated For ease of use, in case the same parameters need to be reused. |
String |
interfaceName()
Deprecated interfaceName() returns the unqualified name of the interface from the UML model |
boolean |
isLocationMapEmpty()
Deprecated Returns true if this map contains no key-value mappings. |
boolean |
locationMapContainsKey(Object key)
Deprecated Returns true if this map contains a mapping for the specified key. |
boolean |
locationMapContainsValue(com.beasys.commerce.axiom.contact.Address element)
Deprecated Returns true if this map maps one or more keys to the specified value. |
Set |
locationMapEntrySet()
Deprecated Returns a (deep copy) set view of the mappings contained in this map. |
int |
locationMapHashCode()
Deprecated Returns the hash code value for this map. |
Iterator |
locationMapIterator()
Deprecated Returns a (shallow) iterator for this map |
Set |
locationMapKeySet()
Deprecated Returns a (deep copy) set view of the keys contained in this map. |
int |
locationMapSize()
Deprecated Returns the number of key-value mappings in this map. |
Collection |
locationMapValues()
Deprecated 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)
Deprecated Associates the specified value with the specified key in this map (optional operation). |
void |
putLocationMap(Map map)
Deprecated Copies all of the mappings from the specified map to this map (optional operation). |
com.beasys.commerce.axiom.contact.Address |
removeLocation(Object key)
Deprecated Removes the mapping for this key from this map if present (optional operation). |
void |
setByValue(Belonging value)
Deprecated It is possible to call set-by-value with a superclass. |
void |
setLocationMap(Map map)
Deprecated Sets the entire collection |
void |
setOrderAttribs(TreeMap orderAttribs)
Deprecated For ease of use, if desired, the entire set of attributes may be set. |
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 TreeMap orderAttribs
public Map location
Constructor Detail |
---|
public TaxParametersImpl()
Method Detail |
---|
public Map getLocationMap()
getLocationMap
in interface TaxParameters
public void setLocationMap(Map map)
setLocationMap
in interface TaxParameters
public Iterator locationMapIterator()
locationMapIterator
in interface TaxParameters
public void clearLocationMap()
clearLocationMap
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 boolean equalsLocationMap(Object object)
equalsLocationMap
in interface TaxParameters
public com.beasys.commerce.axiom.contact.Address getLocation(Object key)
getLocation
in interface TaxParameters
public int locationMapHashCode()
locationMapHashCode
in interface TaxParameters
public boolean isLocationMapEmpty()
isLocationMapEmpty
in interface TaxParameters
public 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 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 int locationMapSize()
locationMapSize
in interface TaxParameters
public Collection locationMapValues()
locationMapValues
in interface TaxParameters
public Belonging value()
value
in interface Belonging
public String interfaceName()
interfaceName
in interface Belonging
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 int compareTo(Object o)
compareTo
in interface Comparable
compareTo
in class BelongingImpl
o
- target object for comparision
public void addAttrib(String name, Object obj)
addAttrib
in interface TaxParameters
public Object getAttrib(String name)
getAttrib
in interface TaxParameters
public void setOrderAttribs(TreeMap orderAttribs)
setOrderAttribs
in interface TaxParameters
public TreeMap getOrderAttribs()
getOrderAttribs
in interface TaxParameters
|
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 |