Interface ProductFeatureModelFactory

    • Method Detail

      • create

        ProductFeatureModel create​(ProductModel product,
                                   ClassAttributeAssignmentModel classAttributeAssignment,
                                   java.lang.Object value,
                                   int valuePosition)
        Creates a feature for product with classification attribute.
        Parameters:
        product - product to create features for
        classAttributeAssignment - classification attribute assignment for the feature
        value - values to assign to the feature
        valuePosition - the position to place the feature in the product
        Returns:
        new product feature model
      • create

        ProductFeatureModel create​(ProductModel product,
                                   ClassAttributeAssignmentModel classAttributeAssignment,
                                   java.lang.Object value,
                                   int valuePosition,
                                   LanguageModel language)
        Creates a feature for product with classification attribute for the given language.
        Parameters:
        product - product to create features for
        classAttributeAssignment - classification attribute assignment for the feature
        value - values to assign to the feature
        valuePosition - the position to place the feature in the product
        language - the language of the feature value
        Returns:
        new product feature model