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 objects. It provides a setQuote method to put new entry into the table and getQuoteTable to access the whole hash table.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright field
    • Constructor Summary

      Constructors 
      Constructor and Description
      QuoteWrapper() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.util.Hashtable getQuoteTable()
      This method gets the existing hash table for all CIQuote objects.
      static void setQuote(java.lang.String quoteKey, CIQuote newQuote)
      This method sets a value in the hash table with the specified key.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

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

      • QuoteWrapper

        public QuoteWrapper()
    • Method Detail

      • getQuoteTable

        public static java.util.Hashtable getQuoteTable()
        This method gets the existing hash table for all CIQuote objects.
        Returns:
        the whole table containing all the quote data
      • setQuote

        public static void setQuote(java.lang.String quoteKey,
                                    CIQuote newQuote)
        This method 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 insert into the table
        See Also:
        com.ibm.commerce.me.datatype