PageMixer demonstration

common
Class BasketEntry

java.lang.Object
  |
  +--common.BasketEntry

public class BasketEntry
extends java.lang.Object

Container for entry in shopping basekt.


Constructor Summary
BasketEntry(ShoppingItem item, int count)
           
 
Method Summary
 int getCount()
          Set count of this entry.
static java.util.List getEntryList()
          Return list of "BasketEntry"s.
 java.lang.String getID()
          Get ID of ShoppingItem.
 java.lang.String getName()
          Get name of ShoppingItem.
 java.lang.String getName(java.util.Locale locale)
          Get localized(L18N) name of ShoppingItem.
 int getPrice()
          Get "price" of ShoppingItem.
 void setCount(int count)
          Get count of this entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasketEntry

public BasketEntry(ShoppingItem item,
                   int count)
Method Detail

getID

public java.lang.String getID()
Get ID of ShoppingItem.

getName

public java.lang.String getName()
Get name of ShoppingItem.

getName

public java.lang.String getName(java.util.Locale locale)
Get localized(L18N) name of ShoppingItem.

getPrice

public int getPrice()
Get "price" of ShoppingItem.

setCount

public void setCount(int count)
Get count of this entry.

getCount

public int getCount()
Set count of this entry.

getEntryList

public static java.util.List getEntryList()
Return list of "BasketEntry"s.

PageMixer demonstration