Class JpaCustomerSegment

java.lang.Object
com.broadleafcommerce.customer.provider.jpa.domain.JpaCustomerSegment
All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware, com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.Trackable, com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>, Serializable

@Entity @TrackableExtension({TENANT,APPLICATION}) public class JpaCustomerSegment extends Object implements com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
See Also:
  • Constructor Details

    • JpaCustomerSegment

      public JpaCustomerSegment()
  • Method Details

    • fromMe

      @NonNull public org.modelmapper.ModelMapper fromMe()
      Specified by:
      fromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • toMe

      @NonNull public org.modelmapper.ModelMapper toMe()
      Specified by:
      toMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • getContextId

      public String getContextId()
      Specified by:
      getContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • getName

      public String getName()
    • getDescription

      public String getDescription()
    • getPriority

      public Integer getPriority()
    • getProcessingState

      public String getProcessingState()
    • getCustomerSegmentType

      public String getCustomerSegmentType()
    • getSegmentMatchRule

      public String getSegmentMatchRule()
    • getRealtimeMatchRule

      public String getRealtimeMatchRule()
    • getRuleEvaluationType

      public String getRuleEvaluationType()
    • isActive

      public boolean isActive()
    • isInternalEvaluationRequired

      public boolean isInternalEvaluationRequired()
    • getExternalRef

      public String getExternalRef()
    • getTracking

      public com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking getTracking()
      Specified by:
      getTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
      Returns:
      the Tracking information for this relationship
      See Also:
      • Tracking
    • setContextId

      public void setContextId(String contextId)
      Specified by:
      setContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • setName

      public void setName(String name)
    • setDescription

      public void setDescription(String description)
    • setPriority

      public void setPriority(Integer priority)
    • setProcessingState

      public void setProcessingState(String processingState)
    • setCustomerSegmentType

      public void setCustomerSegmentType(String customerSegmentType)
    • setSegmentMatchRule

      public void setSegmentMatchRule(String segmentMatchRule)
    • setRealtimeMatchRule

      public void setRealtimeMatchRule(String realtimeMatchRule)
    • setRuleEvaluationType

      public void setRuleEvaluationType(String ruleEvaluationType)
    • setActive

      public void setActive(boolean active)
    • setInternalEvaluationRequired

      public void setInternalEvaluationRequired(boolean internalEvaluationRequired)
    • setExternalRef

      public void setExternalRef(String externalRef)
    • setTracking

      public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking)
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
      Parameters:
      tracking - the Tracking information for this relationship
      See Also:
      • Tracking
    • 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