|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 | |
java.util.Map |
location
Containment: By Value Multiplicity: 0:N Interface: java.util.Map |
java.util.TreeMap |
orderAttribs
|
Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
__classIdentifier,
__containingBelonging,
__containingEntity,
__mapKey,
__sequenceNumber,
_isDirty |
Constructor Summary | |
TaxParametersImpl()
|
Method Summary | |
void |
addAttrib(java.lang.String name,
java.lang.Object obj)
adds an attribute to the attributes in TaxParameter. |
void |
clearLocationMap()
Removes all mappings from this map (optional operation). |
int |
compareTo(java.lang.Object o)
Compare this belonging to another |
boolean |
equalsLocationMap(java.lang.Object object)
Compares the specified object with this map for equality. |
java.lang.Object |
getAttrib(java.lang.String name)
returns an object that has the given string as attirbute. |
com.beasys.commerce.axiom.contact.Address |
getLocation(java.lang.Object key)
Returns the value to which this map maps the specified key. |
java.util.Map |
getLocationMap()
Returns a deep copy of the entire collection |
java.util.TreeMap |
getOrderAttribs()
For ease of use, in case the same parameters need to be reused. |
java.lang.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(java.lang.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. |
java.util.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. |
java.util.Iterator |
locationMapIterator()
Returns a (shallow) iterator for this map |
java.util.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. |
java.util.Collection |
locationMapValues()
Returns a (deep copy) collection view of the values contained in this map. |
com.beasys.commerce.axiom.contact.Address |
putLocation(java.lang.Object key,
com.beasys.commerce.axiom.contact.Address element)
Associates the specified value with the specified key in this map (optional operation). |
void |
putLocationMap(java.util.Map map)
Copies all of the mappings from the specified map to this map (optional operation). |
com.beasys.commerce.axiom.contact.Address |
removeLocation(java.lang.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(java.util.Map map)
Sets the entire collection |
void |
setOrderAttribs(java.util.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 |
Field Detail |
public java.util.TreeMap orderAttribs
public java.util.Map location
Constructor Detail |
public TaxParametersImpl()
Method Detail |
public java.util.Map getLocationMap()
public void setLocationMap(java.util.Map map)
public java.util.Iterator locationMapIterator()
public void clearLocationMap()
public boolean locationMapContainsKey(java.lang.Object key)
public boolean locationMapContainsValue(com.beasys.commerce.axiom.contact.Address element)
public java.util.Set locationMapEntrySet()
public boolean equalsLocationMap(java.lang.Object object)
public com.beasys.commerce.axiom.contact.Address getLocation(java.lang.Object key)
public int locationMapHashCode()
public boolean isLocationMapEmpty()
public java.util.Set locationMapKeySet()
public com.beasys.commerce.axiom.contact.Address putLocation(java.lang.Object key, com.beasys.commerce.axiom.contact.Address element)
public void putLocationMap(java.util.Map map)
public com.beasys.commerce.axiom.contact.Address removeLocation(java.lang.Object key)
public int locationMapSize()
public java.util.Collection locationMapValues()
public Belonging value()
public java.lang.String interfaceName()
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.
public int compareTo(java.lang.Object o)
o
- target object for comparisionpublic void addAttrib(java.lang.String name, java.lang.Object obj)
public java.lang.Object getAttrib(java.lang.String name)
public void setOrderAttribs(java.util.TreeMap orderAttribs)
public java.util.TreeMap getOrderAttribs()
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |