com.ibm.commerce.marketing.promotion.condition

Class CatalogEntryAttributeFilter.AttributeRule

  • java.lang.Object
    • com.ibm.commerce.marketing.promotion.condition.CatalogEntryAttributeFilter.AttributeRule
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • TAG_ATTR_NAME

        public static final java.lang.String TAG_ATTR_NAME
        XML tag - "Name"
        See Also:
        Constant Field Values
      • TAG_ATTR_DATA_TYPE

        public static final java.lang.String TAG_ATTR_DATA_TYPE
        XML tag - "DataType"
        See Also:
        Constant Field Values
      • TAG_ATTR_MATCHING_TYPE

        public static final java.lang.String TAG_ATTR_MATCHING_TYPE
        XML tag - "MatchingType"
        See Also:
        Constant Field Values
      • DATA_TYPE_TEXT

        public static final java.lang.String DATA_TYPE_TEXT
        Constant of DataType - "Text"
        See Also:
        Constant Field Values
      • DATA_TYPE_NUMBER

        public static final java.lang.String DATA_TYPE_NUMBER
        Constant of DataType - "Number"
        See Also:
        Constant Field Values
      • TAG_ATTR_VALUE

        public static final java.lang.String TAG_ATTR_VALUE
        XML tag - "Value"
        See Also:
        Constant Field Values
      • MATCHING_TYPE_EQUAL_TO

        public static final java.lang.String MATCHING_TYPE_EQUAL_TO
        Constant of MatchingType - "EqualTo"
        See Also:
        Constant Field Values
      • MATCHING_TYPE_NOT_EQUAL_TO

        public static final java.lang.String MATCHING_TYPE_NOT_EQUAL_TO
        Constant of MatchingType - "NotEqualTo"
        See Also:
        Constant Field Values
      • MATCHING_TYPE_CREATER_THAN

        public static final java.lang.String MATCHING_TYPE_CREATER_THAN
        Constant of MatchingType - "GreaterThan"
        See Also:
        Constant Field Values
      • MATCHING_TYPE_CREATER_THAN_OR_EQUAL_TO

        public static final java.lang.String MATCHING_TYPE_CREATER_THAN_OR_EQUAL_TO
        Constant of MatchingType - "GreaterThanOrEqualTo"
        See Also:
        Constant Field Values
      • MATCHING_TYPE_LESS_THAN

        public static final java.lang.String MATCHING_TYPE_LESS_THAN
        Constant of MatchingType - "LessThan"
        See Also:
        Constant Field Values
      • MATCHING_TYPE_LESS_THAN_OR_EQUAL_TO

        public static final java.lang.String MATCHING_TYPE_LESS_THAN_OR_EQUAL_TO
        Constant of MatchingType - "LessThanOrEqualTo"
        See Also:
        Constant Field Values
    • Constructor Detail

      • AttributeRule

        public AttributeRule()
        Constructor of AttributeRule
    • Method Detail

      • getAttributeName

        public java.lang.String getAttributeName()
        Gets the attribute name.
        Returns:
        The attribute name
      • setAttributeName

        public void setAttributeName(java.lang.String aName)
        Sets the attribute name.
        Parameters:
        aName - The name to set.
      • getMatchingType

        public java.lang.String getMatchingType()
        Gets the matching type.
        Returns:
        The matching type for the rule.
      • setMatchingType

        public void setMatchingType(java.lang.String aMatchingType)
        Sets the matching type for the rule.
        Parameters:
        aMatchingType - The matching type to set.
      • getValues

        public java.util.List getValues()
        Gets the list of values associated with the attribute rule. If the data type is "Number", the list contains BigDecimal objects, otherwise it contains String objects, o
        Returns:
        A list of String values.
      • getDataType

        public java.lang.String getDataType()
        Gets the attribute data type. It is either text or number.
        Returns:
        The data type.
      • setDataType

        public void setDataType(java.lang.String aDataType)
        Sets the attribute data type.
        Parameters:
        aDataType - The data type to set.