org.paneris.rimauresq
Class Trolley.Item

java.lang.Object
  extended by org.paneris.rimauresq.Trolley.Item
Enclosing class:
Trolley

public class Trolley.Item
extends java.lang.Object

A container class to hold an item's data.

Author:
timp

Field Summary
protected  java.lang.Integer productId
           
protected  java.lang.Integer quantity
           
 
Method Summary
 java.lang.Integer getProductId()
           
 java.lang.Integer getQuantity()
           
protected  void setProductId(java.lang.Integer productId)
           
protected  void setQuantity(java.lang.Integer quantity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

productId

protected java.lang.Integer productId

quantity

protected java.lang.Integer quantity
Method Detail

getQuantity

public java.lang.Integer getQuantity()
Returns:
Returns the quantity.

setQuantity

protected void setQuantity(java.lang.Integer quantity)
Parameters:
quantity - The quantity to set.

getProductId

public java.lang.Integer getProductId()
Returns:
Returns the productId.

setProductId

protected void setProductId(java.lang.Integer productId)
Parameters:
productId - The productId to set.


Copyright © 2000-2009 PanEris. All Rights Reserved.