Class PathToStringMapper

    • Constructor Detail

      • PathToStringMapper

        public PathToStringMapper()
    • Method Detail

      • mapModelToView

        public String mapModelToView​(Path modelValue)
        Description copied from interface: IMapper
        Maps the model value to some projected view value.
        Specified by:
        mapModelToView in interface IMapper<Path,​String>
        Parameters:
        modelValue - the model value to map.
        Returns:
        mapped value.
      • mapViewToModel

        public Path mapViewToModel​(String viewValue)
        Description copied from interface: IMapper
        Maps the view value to associated model value.
        Specified by:
        mapViewToModel in interface IMapper<Path,​String>
        Parameters:
        viewValue - the view value to map.
        Returns:
        mapped value.