org.paneris.jammyjoes.shopping
Class MelatiShoppingConfig

java.lang.Object
  extended by org.paneris.jammyjoes.shopping.MelatiShoppingConfig

public class MelatiShoppingConfig
extends java.lang.Object

The MelatiShoppingConfig provides configuration information for the Melati Shopping Interface


Constructor Summary
MelatiShoppingConfig()
          Construct a MelatiShoppingConfig object.
 
Method Summary
 ShoppingTrolley getShoppingTrolley()
          get a ShoppingTrolley Object as defined in the properties file if no definition is found, a default DefaultShoppingTrolley will be returned
 ShoppingTrolleyItem getShoppingTrolleyItem()
          get a ShoppingTrolleyItem Object as defined in the properties file if no definition is found, a default DefaultShoppingTrolleyItem will be returned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MelatiShoppingConfig

public MelatiShoppingConfig()
                     throws ShoppingConfigException
Construct a MelatiShoppingConfig object. if the propeties file is not found default properties will be used

Throws:
ShoppingConfigException - - if there is an error loading the file
Method Detail

getShoppingTrolley

public ShoppingTrolley getShoppingTrolley()
                                   throws org.melati.util.InstantiationPropertyException
get a ShoppingTrolley Object as defined in the properties file if no definition is found, a default DefaultShoppingTrolley will be returned

Returns:
- a shopping trolley object as defined in the properties file
Throws:
org.melati.util.InstantiationPropertyException - - if we cannot instantiate the object

getShoppingTrolleyItem

public ShoppingTrolleyItem getShoppingTrolleyItem()
                                           throws org.melati.util.InstantiationPropertyException
get a ShoppingTrolleyItem Object as defined in the properties file if no definition is found, a default DefaultShoppingTrolleyItem will be returned

Returns:
- a shopping trolley item object as defined in the properties file
Throws:
org.melati.util.InstantiationPropertyException - - if we cannot instantiate the object


Copyright © 2001-2008 PanEris. All Rights Reserved.