Class CustomerSegmentItemCriteriaImpl

java.lang.Object
com.broadleafcommerce.customersegment.domain.CustomerSegmentItemCriteriaImpl
All Implemented Interfaces:
CustomerSegmentItemCriteria, Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<CustomerSegmentItemCriteria>, org.broadleafcommerce.common.rule.QuantityBasedRule

@Entity public class CustomerSegmentItemCriteriaImpl extends Object implements CustomerSegmentItemCriteria
Author:
Jon Fleschler (jfleschler)
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • id

      protected Long id
    • quantity

      protected Integer quantity
    • orderItemMatchRule

      protected String orderItemMatchRule
  • Constructor Details

    • CustomerSegmentItemCriteriaImpl

      public CustomerSegmentItemCriteriaImpl()
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • setId

      public void setId(Long id)
      Specified by:
      setId in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • getQuantity

      public Integer getQuantity()
      Specified by:
      getQuantity in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • setQuantity

      public void setQuantity(Integer receiveQuantity)
      Specified by:
      setQuantity in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • getMatchRule

      public String getMatchRule()
      Specified by:
      getMatchRule in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • setMatchRule

      public void setMatchRule(String matchRule)
      Specified by:
      setMatchRule in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • createOrRetrieveCopyInstance

      public <G extends CustomerSegmentItemCriteria> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
      Specified by:
      createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<CustomerSegmentItemCriteria>
      Throws:
      CloneNotSupportedException