Class 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:
    Serialized Form
    • Constructor Detail

      • SegmentProcessHistory

        public SegmentProcessHistory()
    • Method Detail

      • 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
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object