Class TmaEntityMapper<SOURCE,​TARGET>

  • All Implemented Interfaces:
    ma.glasnost.orika.MappedTypePair<SOURCE,​TARGET>, ma.glasnost.orika.Mapper<SOURCE,​TARGET>

    @Deprecated(since="1911",
                forRemoval=true)
    public class TmaEntityMapper<SOURCE,​TARGET>
    extends de.hybris.platform.webservicescommons.mapping.mappers.AbstractCustomMapper<SOURCE,​TARGET>
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 1911. Use TmaEntityMapper from b2ctelcofacade instead
    This Mapper class maps data in between TMF resourceTmaEntityMapper and TmaEntityMapper
    • Field Summary

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

        aType, bType, mapperFacade
    • Constructor Summary

      Constructors 
      Constructor Description
      TmaEntityMapper()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected java.util.List<TmaAttributeMapper<SOURCE,​TARGET>> getAttributeMappers()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      ma.glasnost.orika.metadata.Type<SOURCE> getAType()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      ma.glasnost.orika.metadata.Type<TARGET> getBType()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected java.lang.Class<SOURCE> getSourceClass()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected java.lang.Class<TARGET> getTargetClass()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void mapAtoB​(SOURCE source, TARGET target, ma.glasnost.orika.MappingContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Populates the attributes on the target object with values of the attributes from source object, by calling the attribute mappers.
      void mapBtoA​(TARGET target, SOURCE source, ma.glasnost.orika.MappingContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Populates the attributes on the source object with values of the attributes from target object, by calling the attribute mappers.
      void setAttributeMappers​(java.util.List<TmaAttributeMapper<SOURCE,​TARGET>> attributeMappers)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setSourceClass​(java.lang.Class<SOURCE> sourceClass)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setTargetClass​(java.lang.Class<TARGET> targetClass)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class de.hybris.platform.webservicescommons.mapping.mappers.AbstractCustomMapper

        setFieldSelectionStrategy, shouldMap
      • Methods inherited from class ma.glasnost.orika.CustomMapper

        favorsExtension, setMapperFacade, setUsedMappers
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TmaEntityMapper

        public TmaEntityMapper()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • mapAtoB

        public void mapAtoB​(SOURCE source,
                            TARGET target,
                            ma.glasnost.orika.MappingContext context)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Populates the attributes on the target object with values of the attributes from source object, by calling the attribute mappers.
        Specified by:
        mapAtoB in interface ma.glasnost.orika.Mapper<SOURCE,​TARGET>
        Overrides:
        mapAtoB in class ma.glasnost.orika.CustomMapper<SOURCE,​TARGET>
        Parameters:
        source - the source object
        target - the target object
        context - the context
      • mapBtoA

        public void mapBtoA​(TARGET target,
                            SOURCE source,
                            ma.glasnost.orika.MappingContext context)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Populates the attributes on the source object with values of the attributes from target object, by calling the attribute mappers.
        Specified by:
        mapBtoA in interface ma.glasnost.orika.Mapper<SOURCE,​TARGET>
        Overrides:
        mapBtoA in class ma.glasnost.orika.CustomMapper<SOURCE,​TARGET>
        Parameters:
        source - the source object
        target - the target object
        context - the context
      • getAType

        public ma.glasnost.orika.metadata.Type<SOURCE> getAType()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getAType in interface ma.glasnost.orika.MappedTypePair<SOURCE,​TARGET>
        Overrides:
        getAType in class ma.glasnost.orika.CustomMapper<SOURCE,​TARGET>
      • getBType

        public ma.glasnost.orika.metadata.Type<TARGET> getBType()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getBType in interface ma.glasnost.orika.MappedTypePair<SOURCE,​TARGET>
        Overrides:
        getBType in class ma.glasnost.orika.CustomMapper<SOURCE,​TARGET>
      • getSourceClass

        protected java.lang.Class<SOURCE> getSourceClass()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setSourceClass

        public void setSourceClass​(java.lang.Class<SOURCE> sourceClass)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getTargetClass

        protected java.lang.Class<TARGET> getTargetClass()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setTargetClass

        public void setTargetClass​(java.lang.Class<TARGET> targetClass)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getAttributeMappers

        protected java.util.List<TmaAttributeMapper<SOURCE,​TARGET>> getAttributeMappers()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setAttributeMappers

        public void setAttributeMappers​(java.util.List<TmaAttributeMapper<SOURCE,​TARGET>> attributeMappers)
        Deprecated, for removal: This API element is subject to removal in a future version.