ma.glasnost.orika.test.community.issue25
Class AddressMergingMapper

java.lang.Object
  extended by ma.glasnost.orika.CustomMapper<List<Address>,List<AddressDTO>>
      extended by ma.glasnost.orika.test.community.issue25.AddressMergingMapper
All Implemented Interfaces:
MappedTypePair<List<Address>,List<AddressDTO>>, Mapper<List<Address>,List<AddressDTO>>

public class AddressMergingMapper
extends CustomMapper<List<Address>,List<AddressDTO>>


Field Summary
 
Fields inherited from class ma.glasnost.orika.CustomMapper
aType, bType, mapperFacade
 
Constructor Summary
AddressMergingMapper()
           
 
Method Summary
 void mapAtoB(List<Address> a, List<AddressDTO> b, MappingContext context)
           
 void mapBtoA(List<AddressDTO> b, List<Address> a, MappingContext context)
           
 
Methods inherited from class ma.glasnost.orika.CustomMapper
getAType, getBType, setMapperFacade, setUsedMappers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressMergingMapper

public AddressMergingMapper()
Method Detail

mapAtoB

public void mapAtoB(List<Address> a,
                    List<AddressDTO> b,
                    MappingContext context)
Specified by:
mapAtoB in interface Mapper<List<Address>,List<AddressDTO>>
Overrides:
mapAtoB in class CustomMapper<List<Address>,List<AddressDTO>>

mapBtoA

public void mapBtoA(List<AddressDTO> b,
                    List<Address> a,
                    MappingContext context)
Specified by:
mapBtoA in interface Mapper<List<Address>,List<AddressDTO>>
Overrides:
mapBtoA in class CustomMapper<List<Address>,List<AddressDTO>>


Copyright © 2012 Glasnost. All Rights Reserved.