Class CatalogRuleParameterValueMapper
java.lang.Object
de.hybris.platform.ruleengineservices.rule.strategies.impl.mappers.CatalogRuleParameterValueMapper
- All Implemented Interfaces:
RuleParameterValueMapper<CatalogModel>
public class CatalogRuleParameterValueMapper
extends Object
implements RuleParameterValueMapper<CatalogModel>
Performs mapping between
CatalogModel and a String representation of its instance.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String value) Maps the String representation to the specific object.protected CatalogServicevoidsetCatalogService(CatalogService catalogService) toString(CatalogModel catalog) Maps the object to its String representation.
-
Constructor Details
-
CatalogRuleParameterValueMapper
public CatalogRuleParameterValueMapper()
-
-
Method Details
-
toString
Description copied from interface:RuleParameterValueMapperMaps the object to its String representation.- Specified by:
toStringin interfaceRuleParameterValueMapper<CatalogModel>- Parameters:
catalog- - object to map- Returns:
- String representation
-
fromString
Description copied from interface:RuleParameterValueMapperMaps the String representation to the specific object.- Specified by:
fromStringin interfaceRuleParameterValueMapper<CatalogModel>- Parameters:
value- - String representation- Returns:
- mapped object
-
getCatalogService
-
setCatalogService
-