java.lang.Object
ma.glasnost.orika.CustomConverter<SelectedSeatData,SeatEntry>
de.hybris.platform.coretravelcommonsocc.mapping.converters.SeatEntryConverter
All Implemented Interfaces:
ma.glasnost.orika.Converter<SelectedSeatData,SeatEntry>, ma.glasnost.orika.MappedTypePair<SelectedSeatData,SeatEntry>

public class SeatEntryConverter extends ma.glasnost.orika.CustomConverter<SelectedSeatData,SeatEntry>
Converter to convert the SelectedSeatData from SeatEntry.
  • Field Summary

    Fields inherited from class ma.glasnost.orika.CustomConverter

    destinationType, mapperFacade, sourceType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(SelectedSeatData selectedSeatData, ma.glasnost.orika.metadata.Type<? extends SeatEntry> type, ma.glasnost.orika.MappingContext mappingContext)
    Converts the selectedSeatData into a seatEntry dto.

    Methods inherited from class ma.glasnost.orika.CustomConverter

    canConvert, equals, getAType, getBType, hashCode, setMapperFacade, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SeatEntryConverter

      public SeatEntryConverter()
  • Method Details

    • convert

      public SeatEntry convert(SelectedSeatData selectedSeatData, ma.glasnost.orika.metadata.Type<? extends SeatEntry> type, ma.glasnost.orika.MappingContext mappingContext)
      Converts the selectedSeatData into a seatEntry dto.
      Parameters:
      selectedSeatData - the selectedSeatData
      type - the destination type of the conversion
      mappingContext - the mapping context
      Returns:
      the SeatEntry