be.idamf.sofa.mapper
Interface MapperStrategy<A,B>

Type Parameters:
A - the source object type
B - the destination object type

public interface MapperStrategy<A,B>

Mapper strategy. A strategy is defined to decide what parts of an object of type B gets mapped to an object of type A. This is useful in situations where the mapping of an object depends on the context in which it is mapped.


Method Summary
 A mapBToA(B b)
          Map an object of type B to an object of type A.
 

Method Detail

mapBToA

A mapBToA(B b)
Map an object of type B to an object of type A.

Parameters:
b - the object of type B
Returns:
an object of type A


Copyright © 2013 iDA-MediaFoundry. All Rights Reserved.