org.paneris.melati.shopping
Class DefaultShoppingTrolleyItem

java.lang.Object
  extended by org.paneris.melati.shopping.ShoppingTrolleyItem
      extended by org.paneris.melati.shopping.DefaultShoppingTrolleyItem

public class DefaultShoppingTrolleyItem
extends ShoppingTrolleyItem

What you get if you don't specify something.


Field Summary
 
Fields inherited from class org.paneris.melati.shopping.ShoppingTrolleyItem
description, id, locale, melati, price, quantity, trolley
 
Constructor Summary
DefaultShoppingTrolleyItem()
           
 
Method Summary
 double getDeliveryValue()
          Work out the cost of delivery
protected  void load(java.lang.Integer idIn)
          Load in information about this product given an id.
 
Methods inherited from class org.paneris.melati.shopping.ShoppingTrolleyItem
displayCurrency, getDeliveryDisplay, getDescription, getId, getPrice, getPriceDisplay, getQuantity, getQuantityDisplay, getTotalValue, getTotalValueDisplay, getValue, getValueDisplay, initialise, newTrolleyItem, setPrice, setQuantity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultShoppingTrolleyItem

public DefaultShoppingTrolleyItem()
Method Detail

load

protected void load(java.lang.Integer idIn)
Load in information about this product given an id. Perhaps this id represents a Poem troid?

Specified by:
load in class ShoppingTrolleyItem

getDeliveryValue

public double getDeliveryValue()
Work out the cost of delivery

Specified by:
getDeliveryValue in class ShoppingTrolleyItem


Copyright © 1997-2009 PanEris. All Rights Reserved.