ma.glasnost.orika.impl.generator
Class UsedMapperFacadesContext

java.lang.Object
  extended by ma.glasnost.orika.impl.generator.UsedMapperFacadesContext

public class UsedMapperFacadesContext
extends Object

Author:
matt.deboer@gmail.com

Nested Class Summary
static class UsedMapperFacadesContext.UsedMapperFacadesIndex
           
 
Constructor Summary
UsedMapperFacadesContext()
           
 
Method Summary
 UsedMapperFacadesContext.UsedMapperFacadesIndex getIndex(Type<?> sourceType, Type<?> destinationType, MapperFactory mapperFactory)
          Returns an index within the dedicated mapper facades contained in this context for the given pair of types.
 BoundMapperFacade<Object,Object>[] toArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsedMapperFacadesContext

public UsedMapperFacadesContext()
Method Detail

getIndex

public UsedMapperFacadesContext.UsedMapperFacadesIndex getIndex(Type<?> sourceType,
                                                                Type<?> destinationType,
                                                                MapperFactory mapperFactory)
Returns an index within the dedicated mapper facades contained in this context for the given pair of types.
If the mapping direction is reversed, a negative value is returned, where the absolute value still corresponds to the correct index.

Parameters:
sourceType -
destinationType -
Returns:

toArray

public BoundMapperFacade<Object,Object>[] toArray()


Copyright © 2013 Glasnost. All Rights Reserved.