Interface ClassificationAttributeValueHandler

    • Method Detail

      • isApplicable

        boolean isApplicable​(ClassificationTypeAttributeDescriptor attribute,
                             java.lang.Object value)
        Determines if this converter is applicable for the given attribute and value
        Parameters:
        attribute - the attribute checked for eligibility of handler
        value - the value checked for eligibility of handler
        Returns:
        returns true if handler is applicable, false otherwise
      • set

        void set​(ProductModel product,
                 ClassificationTypeAttributeDescriptor attribute,
                 java.lang.Object value)
        Sets the given value for attribute on the product.
        Parameters:
        product - the product for which attribute is going to be set on
        attribute - the attribute to set value on
        value - the value to be set