Class TravellerQuantityConverter
java.lang.Object
ma.glasnost.orika.CustomConverter<PassengerTypeQuantityData,TravellerQuantity>
de.hybris.platform.coreairlinecommonsocc.mapping.converters.TravellerQuantityConverter
- All Implemented Interfaces:
ma.glasnost.orika.Converter<PassengerTypeQuantityData,,TravellerQuantity> ma.glasnost.orika.MappedTypePair<PassengerTypeQuantityData,TravellerQuantity>
public class TravellerQuantityConverter
extends ma.glasnost.orika.CustomConverter<PassengerTypeQuantityData,TravellerQuantity>
Converter to convert the
PassengerTypeQuantityData from TravellerQuantity.-
Field Summary
Fields inherited from class ma.glasnost.orika.CustomConverter
destinationType, mapperFacade, sourceType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(PassengerTypeQuantityData passengerTypeQuantityData, ma.glasnost.orika.metadata.Type<? extends TravellerQuantity> type, ma.glasnost.orika.MappingContext mappingContext) Converts the passenger type quantity data into a traveller quantity dto.Methods inherited from class ma.glasnost.orika.CustomConverter
canConvert, equals, getAType, getBType, hashCode, setMapperFacade, toString
-
Constructor Details
-
TravellerQuantityConverter
public TravellerQuantityConverter()
-
-
Method Details
-
convert
public TravellerQuantity convert(PassengerTypeQuantityData passengerTypeQuantityData, ma.glasnost.orika.metadata.Type<? extends TravellerQuantity> type, ma.glasnost.orika.MappingContext mappingContext) Converts the passenger type quantity data into a traveller quantity dto.- Parameters:
passengerTypeQuantityData- the passengerTypeQuantityDatatype- the destination type of the conversionmappingContext- the mapping context- Returns:
- the TravellerQuantity
-