Class NotificationChannelConverter
java.lang.Object
ma.glasnost.orika.CustomConverter<Object,Object>
ma.glasnost.orika.converter.BidirectionalConverter<NotificationChannel,String>
de.hybris.platform.notificationocc.mapping.converters.NotificationChannelConverter
- All Implemented Interfaces:
ma.glasnost.orika.Converter<Object,,Object> ma.glasnost.orika.MappedTypePair<Object,Object>
public class NotificationChannelConverter
extends ma.glasnost.orika.converter.BidirectionalConverter<NotificationChannel,String>
Bidirectional converter between
NotificationChannel and String-
Nested Class Summary
-
Field Summary
Fields inherited from class ma.glasnost.orika.CustomConverter
destinationType, mapperFacade, sourceType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertFrom(String source, ma.glasnost.orika.metadata.Type<NotificationChannel> destinationType, ma.glasnost.orika.MappingContext mappingContext) convertTo(NotificationChannel source, ma.glasnost.orika.metadata.Type<String> destinationType, ma.glasnost.orika.MappingContext mappingContext) Methods inherited from class ma.glasnost.orika.converter.BidirectionalConverter
canConvert, convert, reverse, toStringMethods inherited from class ma.glasnost.orika.CustomConverter
equals, getAType, getBType, hashCode, setMapperFacadeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ma.glasnost.orika.Converter
setMapperFacadeMethods inherited from interface ma.glasnost.orika.MappedTypePair
getAType, getBType
-
Constructor Details
-
NotificationChannelConverter
public NotificationChannelConverter()
-
-
Method Details
-
convertTo
public String convertTo(NotificationChannel source, ma.glasnost.orika.metadata.Type<String> destinationType, ma.glasnost.orika.MappingContext mappingContext) - Specified by:
convertToin classma.glasnost.orika.converter.BidirectionalConverter<NotificationChannel,String>
-
convertFrom
public NotificationChannel convertFrom(String source, ma.glasnost.orika.metadata.Type<NotificationChannel> destinationType, ma.glasnost.orika.MappingContext mappingContext) - Specified by:
convertFromin classma.glasnost.orika.converter.BidirectionalConverter<NotificationChannel,String>
-