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 Summary
Constructors -
Method Summary
Modifier 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.EntityExchangeObject
getId, isNewlyCreated, setId, setNewlyCreatedMethods inherited from class com.broadleafcommerce.dataexchange.domain.AbstractExchangeObject
getCorrelationId, getCustomProperties, getParentCorrelationId, setCorrelationId, setCustomProperties, setCustomProperty, setParentCorrelationIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.dataexchange.domain.ExchangeObject
getContextState, setContextState
-
Constructor Details
-
SkuInventory
public SkuInventory()
-
-
Method Details
-
isSameInventoryCriteria
Return 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 classEntityExchangeObject
-
canEqual
- Overrides:
canEqualin classEntityExchangeObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classEntityExchangeObject
-
getInventoryLocationContextId
-
getSkuRef
-
setInventoryLocationContextId
-
setSkuRef
-
toString
- Overrides:
toStringin classEntityExchangeObject
-