com.ibm.commerce.order.calculation
Class CodeDescriptionCache
java.lang.Object
com.ibm.commerce.order.calculation.Cache
com.ibm.commerce.order.calculation.CodeDescriptionCache
- public class CodeDescriptionCache
- extends Cache
A class that caches calculation codes descriptions by calculation code ID. This class essentially caches the CALCODEDSC table, with CALCODE_ID as the index.
Field Summary |
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.. |
Method Summary |
protected java.lang.Object |
miss(java.lang.Object aKey)
Returns the descriptions of a calculation code. |
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 notice field..
- See Also:
- Constant Field Values
CodeDescriptionCache
public CodeDescriptionCache()
- Constructor for CodeDescriptionCache.
CodeDescriptionCache
public CodeDescriptionCache(int anMaxSize)
- Constructor for CodeDescriptionCache.
- Parameters:
- anMaxSize - the maximum size of the cache.
miss
protected java.lang.Object miss(java.lang.Object aKey)
throws ECException
- Returns the descriptions of a calculation code.
-
- Specified by:
- miss in class Cache
-
- Parameters:
- aKey - the calculation code ID (class: Integer).
- Returns:
- the descriptions. Key: language ID (class: Integer). Value: description (class: String).
- Throws:
- ECException
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.