Class LocationParameterValueMapper

java.lang.Object
de.hybris.platform.travelrulesengine.rule.strategies.impl.mappers.LocationParameterValueMapper
All Implemented Interfaces:
de.hybris.platform.ruleengineservices.rule.strategies.RuleParameterValueMapper<LocationModel>

public class LocationParameterValueMapper extends Object implements de.hybris.platform.ruleengineservices.rule.strategies.RuleParameterValueMapper<LocationModel>
The type Location parameter value mapper.
  • Constructor Details

    • LocationParameterValueMapper

      public LocationParameterValueMapper()
  • Method Details

    • toString

      public String toString(LocationModel locationModel)
      Specified by:
      toString in interface de.hybris.platform.ruleengineservices.rule.strategies.RuleParameterValueMapper<LocationModel>
    • fromString

      public LocationModel fromString(String code)
      Specified by:
      fromString in interface de.hybris.platform.ruleengineservices.rule.strategies.RuleParameterValueMapper<LocationModel>
    • getRuleTravelLocationDao

      protected RuleTravelLocationDao getRuleTravelLocationDao()
      Gets rule travel location dao.
      Returns:
      the rule travel location dao
    • setRuleTravelLocationDao

      public void setRuleTravelLocationDao(RuleTravelLocationDao ruleTravelLocationDao)
      Sets rule travel location dao.
      Parameters:
      ruleTravelLocationDao - the rule travel location dao