public class ShoppingCartItemDTO extends ShoppingCartItem
LAST_ID_LOT_FOR_ANONYMOUS_USER, NEW_ID_LOT_FOR_ANONYMOUS_USER| Constructor and Description |
|---|
ShoppingCartItemDTO(ShoppingCartItem item)
Creates a new DTO from values of an item
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDescription()
Get the description of the item
|
String |
getModificationUrl()
Get the URL to modify the item, or null if the item can not be modified
|
int |
hashCode() |
void |
setDescription(String strDescription)
Set the description of the item
|
void |
setModificationUrl(String strModificationUrl)
Set the URL to modify the item
|
getDateCreation, getIdItem, getIdLot, getIdProvider, getIdResource, getIdUser, getItemPrice, getResourceType, setDateCreation, setIdItem, setIdLot, setIdProvider, setIdResource, setIdUser, setItemPrice, setResourceTypepublic ShoppingCartItemDTO(ShoppingCartItem item)
item - The item to get values ofpublic String getDescription()
public void setDescription(String strDescription)
strDescription - The description of the itempublic String getModificationUrl()
public void setModificationUrl(String strModificationUrl)
strModificationUrl - The URL to modify the item, or null if the item
can not be modifiedpublic boolean equals(Object o)
equals in class ShoppingCartItempublic int hashCode()
hashCode in class ShoppingCartItemCopyright © 2014 Mairie de Paris. All rights reserved.