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

    Modifier and Type
    Method
    Description
    Maps the String representation to the specific object.
    toString(T value)
    Maps the object to its String representation.
  • Method Details

    • toString

      String toString(T value)
      Maps the object to its String representation.
      Parameters:
      value - - object to map
      Returns:
      String representation
    • fromString

      T fromString(String value)
      Maps the String representation to the specific object.
      Parameters:
      value - - String representation
      Returns:
      mapped object