Class SkuInventoryPersistenceRequestHolder

java.lang.Object
com.broadleafcommerce.inventory.domain.SkuInventoryPersistenceRequestHolder

public class SkuInventoryPersistenceRequestHolder extends Object
Tuple containing the PersistenceRequest and its related BatchRecord. The primary intent is to keep track of duplicate during batch processing.
  • Constructor Details

    • SkuInventoryPersistenceRequestHolder

      public SkuInventoryPersistenceRequestHolder()
  • Method Details

    • getImportRecord

      public com.broadleafcommerce.common.dataimport.messaging.BatchRecord getImportRecord()
      The BatchRecord from an import process that was used to build or find the SkuInventory
    • getPersistenceRequest

      public com.broadleafcommerce.common.dataimport.util.PersistenceRequest<SkuInventory> getPersistenceRequest()
      The {@link {@link PersistenceRequest}} record derived from the associated BatchRecord during inventory import processing.
    • setImportRecord

      public void setImportRecord(com.broadleafcommerce.common.dataimport.messaging.BatchRecord importRecord)
      The BatchRecord from an import process that was used to build or find the SkuInventory
    • setPersistenceRequest

      public void setPersistenceRequest(com.broadleafcommerce.common.dataimport.util.PersistenceRequest<SkuInventory> persistenceRequest)
      The {@link {@link PersistenceRequest}} record derived from the associated BatchRecord during inventory import processing.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object