Class ItemListCount
java.lang.Object
com.broadleafcommerce.cart.provider.jpa.repository.util.ItemListCount
- All Implemented Interfaces:
Serializable
A DTO to gather and map item counts for item lists.
- Author:
- Marie Standeven
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionItemListCount(String itemListId, Long itemCount) Creates a newItemListCountinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe item count of this item list.The ID of this Item List.inthashCode()voidsetItemCount(Long itemCount) The item count of this item list.voidsetItemListId(String itemListId) The ID of this Item List.toString()
-
Constructor Details
-
ItemListCount
Creates a newItemListCountinstance.- Parameters:
itemListId- the ID of this Item List ItemitemCount- the item count of this item list
-
ItemListCount
public ItemListCount()
-
-
Method Details
-
getItemListId
The ID of this Item List.- Returns:
- the ID of this Item List Item
-
getItemCount
The item count of this item list.- Returns:
- the item count of this item list
-
setItemListId
The ID of this Item List.- Parameters:
itemListId- the ID of this Item List Item
-
setItemCount
The item count of this item list.- Parameters:
itemCount- the item count of this item list
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-