Class SkuInventory
java.lang.Object
com.broadleafcommerce.dataexchange.domain.AbstractExchangeObject
com.broadleafcommerce.dataexchange.domain.EntityExchangeObject
com.broadleafcommerce.dataexchange.domain.product.SkuInventory
- All Implemented Interfaces:
- ExchangeObject,- Serializable
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()booleanReturn true if the inventory location id and skuRef are the same.voidsetInventoryLocationContextId(String inventoryLocationContextId) voidtoString()Methods inherited from class com.broadleafcommerce.dataexchange.domain.EntityExchangeObjectgetId, isNewlyCreated, setId, setNewlyCreatedMethods inherited from class com.broadleafcommerce.dataexchange.domain.AbstractExchangeObjectgetCorrelationId, getCustomProperties, getParentCorrelationId, setCorrelationId, setCustomProperties, setCustomProperty, setParentCorrelationIdMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.dataexchange.domain.ExchangeObjectgetContextState, setContextState
- 
Constructor Details- 
SkuInventorypublic SkuInventory()
 
- 
- 
Method Details- 
isSameInventoryCriteriaReturn true if the inventory location id and skuRef are the same.- Parameters:
- other- the other SkuInventory to compare
- Returns:
- true if the inventory location and skuRef are the same. Quantities are not considered.
 
- 
equals- Overrides:
- equalsin class- EntityExchangeObject
 
- 
canEqual- Overrides:
- canEqualin class- EntityExchangeObject
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- EntityExchangeObject
 
- 
getInventoryLocationContextId
- 
getSkuRef
- 
setInventoryLocationContextId
- 
setSkuRef
- 
toString- Overrides:
- toStringin class- EntityExchangeObject
 
 
-