Class AttributeRangeCriteria

  • Direct Known Subclasses:
    CouponSetAttributeRangeCriteria, MerchantAttributeRangeCriteria

    public abstract class AttributeRangeCriteria
    extends Object
    Represents the criteria for filtering attributes within a specific range.

    This class contains the necessary fields to define a range for a given attribute, including a "from" and "to" value, the attribute name, and its data type.

    Author:
    nikritikos
    • Constructor Detail

      • AttributeRangeCriteria

        public AttributeRangeCriteria()
    • Method Detail

      • getFrom

        public String getFrom()
        Retrieves the starting value of the range.
        Returns:
        the "from" value as a String.
      • setFrom

        public void setFrom​(String from)
        Sets the starting value of the range.
        Parameters:
        from - the "from" value to set.
      • getTo

        public String getTo()
        Retrieves the ending value of the range.
        Returns:
        the "to" value as a String.
      • setTo

        public void setTo​(String to)
        Sets the ending value of the range.
        Parameters:
        to - the "to" value to set.
      • getAttributeName

        public String getAttributeName()
        Retrieves the name of the attribute.
        Returns:
        the name of the attribute as a String.
      • setAttributeName

        public void setAttributeName​(String attributeName)
        Sets the name of the attribute.
        Parameters:
        attributeName - the name of the attribute to set.