com.ibm.commerce.me.datatype
Class QuoteWrapper

java.lang.Object
  com.ibm.commerce.me.datatype.QuoteWrapper

public class QuoteWrapper
extends java.lang.Object

This class keeps a table of CIQuote object. It provides a setQuote method to put new entry into the table and getQuoteTable to access the whole Hashtable.


Field Summary
static java.lang.String COPYRIGHT
IBM Copyrigth field
Constructor Summary
QuoteWrapper()
Method Summary
static java.util.Hashtable getQuoteTable()
Gets the existing hash table for CIQuote
static void setQuote(java.lang.String quoteKey, CIQuote newQuote)
Sets a value in the hash table with the specified key.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
IBM Copyrigth field
See Also:
Constant Field Values
Constructor Detail

QuoteWrapper

public QuoteWrapper()
Method Detail

getQuoteTable

public static java.util.Hashtable getQuoteTable()
Gets the existing hash table for CIQuote
Returns:
the whole table containing all the quote data

setQuote

public static void setQuote(java.lang.String quoteKey,
                            CIQuote newQuote)
Sets a value in the hash table with the specified key.
Parameters:
quoteKey - the key used to insert the CIQuote object
newQuote - the new CIQuote object to be inserted to the table

Feedback