Class SpiEntityMapper<SOURCE,TARGET>

java.lang.Object
ma.glasnost.orika.CustomMapper<A,B>
de.hybris.platform.webservicescommons.mapping.mappers.AbstractCustomMapper<SOURCE,TARGET>
de.hybris.platform.subscribedproducttmfwebservices.v1.mappers.SpiEntityMapper<SOURCE,TARGET>
All Implemented Interfaces:
ma.glasnost.orika.MappedTypePair<SOURCE,TARGET>, ma.glasnost.orika.Mapper<SOURCE,TARGET>

@Deprecated(since="2208") public class SpiEntityMapper<SOURCE,TARGET> extends de.hybris.platform.webservicescommons.mapping.mappers.AbstractCustomMapper<SOURCE,TARGET>
Deprecated.
2208
This Mapper class maps data between resourceSpiEntityMapper and SpiEntityMapper
Since:
2105
  • Constructor Details

    • SpiEntityMapper

      public SpiEntityMapper()
      Deprecated.
  • Method Details

    • mapAtoB

      public void mapAtoB(SOURCE source, TARGET target, ma.glasnost.orika.MappingContext context)
      Deprecated.
      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.
      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.
      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.
      Specified by:
      getBType in interface ma.glasnost.orika.MappedTypePair<SOURCE,TARGET>
      Overrides:
      getBType in class ma.glasnost.orika.CustomMapper<SOURCE,TARGET>
    • getSourceClass

      public Class<SOURCE> getSourceClass()
      Deprecated.
    • getTargetClass

      public Class<TARGET> getTargetClass()
      Deprecated.
    • getAttributeMappers

      public List<SpiAttributeMapper<SOURCE,TARGET>> getAttributeMappers()
      Deprecated.
    • setSourceClass

      public void setSourceClass(Class<SOURCE> sourceClass)
      Deprecated.
    • setTargetClass

      public void setTargetClass(Class<TARGET> targetClass)
      Deprecated.
    • setAttributeMappers

      public void setAttributeMappers(List<SpiAttributeMapper<SOURCE,TARGET>> attributeMappers)
      Deprecated.