fr.paris.lutece.plugins.stock.business.order
Class Basket

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.order.Basket

@Entity
public class Basket
extends java.lang.Object

Basket


Constructor Summary
Basket()
           
 
Method Summary
 int getIdBasket()
          Return the basket id
 int getIdUser()
          Get the user id
 java.util.List<Item> getItemList()
          Return the item ordered
 boolean isValidated()
          Return true if the basket is validated by the user
 void setIdBasket(int nIdBasket)
          Set the basket id
 void setIdUser(int nIdUser)
          Set the user id
 void setItemList(java.util.List<Item> itemList)
          Set the item ordered
 void setValidated(boolean validated)
          Validate the order
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Basket

public Basket()
Method Detail

getItemList

public java.util.List<Item> getItemList()
Return the item ordered

Returns:
item list

setItemList

public void setItemList(java.util.List<Item> itemList)
Set the item ordered

Parameters:
itemList - items ordered

isValidated

public boolean isValidated()
Return true if the basket is validated by the user

Returns:
true if the basket is validated

setValidated

public void setValidated(boolean validated)
Validate the order

Parameters:
validated - the boolean

getIdUser

public int getIdUser()
Get the user id

Returns:
the user id

setIdUser

public void setIdUser(int nIdUser)
Set the user id

Parameters:
nIdUser - the user id

getIdBasket

public int getIdBasket()
Return the basket id

Returns:
the basket id

setIdBasket

public void setIdBasket(int nIdBasket)
Set the basket id

Parameters:
nIdBasket - the basket id


Copyright © 2011 Mairie de Paris. All Rights Reserved.