Class SegmentProcessHistory

java.lang.Object
com.broadleafcommerce.customer.domain.SegmentProcessHistory
All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware, Serializable

public class SegmentProcessHistory extends Object implements com.broadleafcommerce.data.tracking.core.ContextStateAware, Serializable
Represents a relationship between a CustomerSegment and a BulkUpdate
See Also:
  • Constructor Details

    • SegmentProcessHistory

      public SegmentProcessHistory()
  • Method Details

    • getId

      public String getId()
    • getCustomerSegment

      public CustomerSegment getCustomerSegment()
      The Segment the bulk process was performed on.
    • getBulkUpdate

      public com.broadleafcommerce.bulk.domain.BulkUpdate getBulkUpdate()
      The Bulk process performed on the segment.
    • getCreated

      public Instant getCreated()
      The creation time of this segment process
    • getContextState

      public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()
      A subset of Tracking information to expose the context state for this object.
      Specified by:
      getContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
      Returns:
      a subset of Tracking information to expose the context state for this object
    • setId

      public void setId(String id)
    • setCustomerSegment

      public void setCustomerSegment(CustomerSegment customerSegment)
      The Segment the bulk process was performed on.
    • setBulkUpdate

      public void setBulkUpdate(com.broadleafcommerce.bulk.domain.BulkUpdate bulkUpdate)
      The Bulk process performed on the segment.
    • setCreated

      public void setCreated(Instant created)
      The creation time of this segment process
    • setContextState

      public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
      A subset of Tracking information to expose the context state for this object.
      Specified by:
      setContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
      Parameters:
      contextState - a subset of Tracking information to expose the context state for this object
    • 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