Class SeatEntryConverter
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 -
Method Summary
Modifier and TypeMethodDescriptionconvert(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
-
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 selectedSeatDatatype- the destination type of the conversionmappingContext- the mapping context- Returns:
- the SeatEntry
-