Class JpaItemListItem
- java.lang.Object
-
- com.broadleafcommerce.cart.provider.jpa.domain.JpaItemListItem
-
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware,com.broadleafcommerce.data.tracking.core.CustomerContextTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable,com.broadleafcommerce.data.tracking.core.Trackable,com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>,Serializable
@Entity @TrackableExtension({TENANT,CUSTOMER_CONTEXT}) public class JpaItemListItem extends Object implements com.broadleafcommerce.data.tracking.core.CustomerContextTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, SerializableJPA representation of an Item List Item.- Author:
- Jacob Mitash
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpaItemListItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)org.modelmapper.ModelMapperfromMe()Map<String,Object>getAttributeChoices()Map<String,Object>getAttributes()Class<?>getBusinessDomainType()StringgetContextId()Map<String,Object>getInternalAttributes()StringgetItemListId()StringgetProductId()intgetQuantity()StringgetSku()com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTrackinggetTracking()StringgetVariantId()inthashCode()voidsetAttributeChoices(Map<String,Object> attributeChoices)voidsetAttributes(Map<String,Object> attributes)voidsetContextId(String contextId)voidsetInternalAttributes(Map<String,Object> internalAttributes)voidsetItemListId(String itemListId)voidsetProductId(String productId)voidsetQuantity(int quantity)voidsetSku(String sku)voidsetTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)voidsetVariantId(String variantId)org.modelmapper.ModelMappertoMe()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMe
-
Methods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationState
-
-
-
-
Method Detail
-
getBusinessDomainType
public Class<?> getBusinessDomainType()
- Specified by:
getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()
- Specified by:
fromMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()
- Specified by:
toMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getContextId
public String getContextId()
- Specified by:
getContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getItemListId
public String getItemListId()
-
getSku
public String getSku()
- See Also:
ItemSkuRef.getSku()
-
getProductId
public String getProductId()
- See Also:
ItemSkuRef.getProductId()
-
getVariantId
public String getVariantId()
- See Also:
ItemSkuRef.getVariantId()
-
getQuantity
public int getQuantity()
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking getTracking()
- Specified by:
getTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setContextId
public void setContextId(String contextId)
- Specified by:
setContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setItemListId
public void setItemListId(String itemListId)
-
setSku
public void setSku(String sku)
- See Also:
ItemSkuRef.getSku()
-
setProductId
public void setProductId(String productId)
- See Also:
ItemSkuRef.getProductId()
-
setVariantId
public void setVariantId(String variantId)
- See Also:
ItemSkuRef.getVariantId()
-
setQuantity
public void setQuantity(int quantity)
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)
- Specified by:
setTrackingin interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>
-
canEqual
protected boolean canEqual(Object other)
-
-