com.ibm.commerce.order.calculation
Class TaxTypeCache
java.lang.Object
com.ibm.commerce.order.calculation.Cache
com.ibm.commerce.order.calculation.TaxTypeCache
- public class TaxTypeCache
- extends Cache
This class caches TaxTypes by CalculationUsage/TaxType ID.
Field Summary |
static java.lang.String |
COPYRIGHT
The IBM copyright string. |
Constructor Summary |
TaxTypeCache()
Constructor for TaxTypeCache. |
TaxTypeCache(int anMaxSize)
Constructor for TaxTypeCache. |
Method Summary |
protected java.lang.Object |
miss(java.lang.Object aKey)
Returns the value a key is mapped to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The IBM copyright string.
- See Also:
- Constant Field Values
TaxTypeCache
public TaxTypeCache()
- Constructor for TaxTypeCache.
TaxTypeCache
public TaxTypeCache(int anMaxSize)
- Constructor for TaxTypeCache.
- Parameters:
- anMaxSize - the maximum size of the cache.
miss
protected java.lang.Object miss(java.lang.Object aKey)
throws ECException
- Description copied from class: Cache
- Returns the value a key is mapped to. This method is called by Cache.get(Object) when the mapping is not found in the cache and should be overridden by the implementing class.
-
- Specified by:
- miss in class Cache
-
- Parameters:
- aKey - the CalculationUsage/TaxType ID (Long).
- Returns:
- the TaxType (TaxTypeAccessBean).
- Throws:
- ECException
- See Also:
- Cache.miss(Object)
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.