Interface RuleParameterValueMapper<T>
-
- Type Parameters:
T- - the type that the mapper can handle
- All Known Implementing Classes:
CatalogRuleParameterValueMapper,CatalogVersionRuleParameterValueMapper,CategoryRuleParameterValueMapper,CouponRuleParameterValueMapper,CurrencyRuleParameterValueMapper,CustomerRuleParameterValueMapper,DeliveryModeRuleParameterValueMapper,DynamicEnumRuleParameterValueMapper,LanguageRuleParameterValueMapper,ProductConfigMessageRuleParameterValueMapper,ProductRuleParameterValueMapper,SourceRuleParameterValueMapper,UserGroupRuleParameterValueMapper
public interface RuleParameterValueMapper<T>Implementations of this interface can perform mapping between objects and a String representations of those objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TfromString(java.lang.String value)Maps the String representation to the specific object.java.lang.StringtoString(T value)Maps the object to its String representation.
-
-
-
Method Detail
-
toString
java.lang.String toString(T value)
Maps the object to its String representation.- Parameters:
value- - object to map- Returns:
- String representation
-
fromString
T fromString(java.lang.String value)
Maps the String representation to the specific object.- Parameters:
value- - String representation- Returns:
- mapped object
-
-