Class CatalogRuleParameterValueMapper
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.rule.strategies.impl.mappers.CatalogRuleParameterValueMapper
-
- All Implemented Interfaces:
RuleParameterValueMapper<CatalogModel>
public class CatalogRuleParameterValueMapper extends java.lang.Object implements RuleParameterValueMapper<CatalogModel>
Performs mapping betweenCatalogModeland a String representation of its instance.
-
-
Constructor Summary
Constructors Constructor Description CatalogRuleParameterValueMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogModelfromString(java.lang.String value)Maps the String representation to the specific object.protected CatalogServicegetCatalogService()voidsetCatalogService(CatalogService catalogService)java.lang.StringtoString(CatalogModel catalog)Maps the object to its String representation.
-
-
-
Method Detail
-
toString
public java.lang.String toString(CatalogModel catalog)
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
public CatalogModel fromString(java.lang.String value)
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
protected CatalogService getCatalogService()
-
setCatalogService
public void setCatalogService(CatalogService catalogService)
-
-