Interface ProductFeatureModelFactory
-
- All Known Implementing Classes:
DefaultProductFeatureModelFactory
public interface ProductFeatureModelFactoryA factory for creatingProductFeatureModels.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProductFeatureModelcreate(ProductModel product, ClassAttributeAssignmentModel classAttributeAssignment, java.lang.Object value, int valuePosition)Creates a feature for product with classification attribute.ProductFeatureModelcreate(ProductModel product, ClassAttributeAssignmentModel classAttributeAssignment, java.lang.Object value, int valuePosition, LanguageModel language)Creates a feature for product with classification attribute for the given language.
-
-
-
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 forclassAttributeAssignment- classification attribute assignment for the featurevalue- values to assign to the featurevaluePosition- 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 forclassAttributeAssignment- classification attribute assignment for the featurevalue- values to assign to the featurevaluePosition- the position to place the feature in the productlanguage- the language of the feature value- Returns:
- new product feature model
-
-