Class ProductConfigMessageRuleParameterValueMapper
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.rules.strategies.mappers.impl.ProductConfigMessageRuleParameterValueMapper
-
- All Implemented Interfaces:
RuleParameterValueMapper<java.util.Map<java.util.Locale,java.lang.String>>
public class ProductConfigMessageRuleParameterValueMapper extends java.lang.Object implements RuleParameterValueMapper<java.util.Map<java.util.Locale,java.lang.String>>
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringQUOTATIONprotected static java.lang.StringSERIALIZATION_QUOTATIONprotected static java.lang.StringTEXT_QUOTATION
-
Constructor Summary
Constructors Constructor Description ProductConfigMessageRuleParameterValueMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.util.Locale,java.lang.String>fromString(java.lang.String value)Maps the String representation to the specific object.protected com.fasterxml.jackson.databind.ObjectMappergetObjectMapper()java.lang.StringtoString(java.util.Map<java.util.Locale,java.lang.String> messageMap)Maps the object to its String representation.
-
-
-
Field Detail
-
QUOTATION
protected static final java.lang.String QUOTATION
- See Also:
- Constant Field Values
-
SERIALIZATION_QUOTATION
protected static final java.lang.String SERIALIZATION_QUOTATION
- See Also:
- Constant Field Values
-
TEXT_QUOTATION
protected static final java.lang.String TEXT_QUOTATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
toString
public java.lang.String toString(java.util.Map<java.util.Locale,java.lang.String> messageMap)
Description copied from interface:RuleParameterValueMapperMaps the object to its String representation.- Specified by:
toStringin interfaceRuleParameterValueMapper<java.util.Map<java.util.Locale,java.lang.String>>- Parameters:
messageMap- - object to map- Returns:
- String representation
-
fromString
public java.util.Map<java.util.Locale,java.lang.String> fromString(java.lang.String value)
Description copied from interface:RuleParameterValueMapperMaps the String representation to the specific object.- Specified by:
fromStringin interfaceRuleParameterValueMapper<java.util.Map<java.util.Locale,java.lang.String>>- Parameters:
value- - String representation- Returns:
- mapped object
-
getObjectMapper
protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-
-