Class ItemListCount
- java.lang.Object
-
- com.broadleafcommerce.cart.provider.jpa.repository.util.ItemListCount
-
- All Implemented Interfaces:
Serializable
public class ItemListCount extends Object implements Serializable
A DTO to gather and map item counts for item lists.- Author:
- Marie Standeven
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ItemListCount()
ItemListCount(String itemListId, Long itemCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Long
getItemCount()
The item count of this item list.String
getItemListId()
The ID of this Item List.int
hashCode()
void
setItemCount(Long itemCount)
The item count of this item list.void
setItemListId(String itemListId)
The ID of this Item List.String
toString()
-
-
-
Method Detail
-
getItemListId
public String getItemListId()
The ID of this Item List.- Returns:
- the ID of this Item List Item
-
getItemCount
public Long getItemCount()
The item count of this item list.- Returns:
- the item count of this item list
-
setItemListId
public void setItemListId(String itemListId)
The ID of this Item List.- Parameters:
itemListId
- the ID of this Item List Item
-
setItemCount
public void setItemCount(Long itemCount)
The item count of this item list.- Parameters:
itemCount
- the item count of this item list
-
canEqual
protected boolean canEqual(Object other)
-
-