Class ItemModelConverter

    • Field Summary

      • Fields inherited from class ma.glasnost.orika.CustomConverter

        destinationType, mapperFacade, sourceType
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canConvert​(ma.glasnost.orika.metadata.Type<?> sourceType, ma.glasnost.orika.metadata.Type<?> destinationType)  
      ItemModel convert​(ItemModel source, ma.glasnost.orika.metadata.Type<? extends ItemModel> destinationType, ma.glasnost.orika.MappingContext mappingContext)  
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      void setModelService​(ModelService modelService)  
      • Methods inherited from class ma.glasnost.orika.CustomConverter

        getAType, getBType, setMapperFacade, toString
      • Methods inherited from class java.lang.Object

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

      • ItemModelConverter

        public ItemModelConverter()
    • Method Detail

      • canConvert

        public boolean canConvert​(ma.glasnost.orika.metadata.Type<?> sourceType,
                                  ma.glasnost.orika.metadata.Type<?> destinationType)
        Specified by:
        canConvert in interface ma.glasnost.orika.Converter<ItemModel,​ItemModel>
        Overrides:
        canConvert in class ma.glasnost.orika.CustomConverter<ItemModel,​ItemModel>
      • convert

        public ItemModel convert​(ItemModel source,
                                 ma.glasnost.orika.metadata.Type<? extends ItemModel> destinationType,
                                 ma.glasnost.orika.MappingContext mappingContext)
      • setModelService

        public void setModelService​(ModelService modelService)
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class ma.glasnost.orika.CustomConverter<ItemModel,​ItemModel>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class ma.glasnost.orika.CustomConverter<ItemModel,​ItemModel>