Uses of Class
ma.glasnost.orika.MappingContext

Packages that use MappingContext
ma.glasnost.orika   
ma.glasnost.orika.impl   
ma.glasnost.orika.impl.generator   
ma.glasnost.orika.impl.mapping.strategy   
 

Uses of MappingContext in ma.glasnost.orika
 

Subclasses of MappingContext in ma.glasnost.orika
static class MappingContext.NonCyclicMappingContext
           
 

Methods in ma.glasnost.orika that return MappingContext
 MappingContext MappingContextFactory.getContext()
          Gets an available instance of MappingContext
 MappingContext MappingContext.Factory.getContext()
           
 

Methods in ma.glasnost.orika with parameters of type MappingContext
 D ObjectFactory.create(Object source, MappingContext mappingContext)
           
<S,D> Type<? extends D>
MapperFactory.lookupConcreteDestinationType(Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
 B BoundMapperFacade.map(A instanceA, B instanceB, MappingContext context)
          Maps properties (in place) from the instance of 'A' to the provided instance of 'B'
 B BoundMapperFacade.map(A instanceA, MappingContext context)
          Generates a new instance of the 'B' type based on the specified instance of 'A'
<S,D> D
MapperFacade.map(S sourceObject, Class<D> destinationClass, MappingContext context)
          Create and return a new instance of type D mapped with the properties of sourceObject.
<S,D> void
MapperFacade.map(S sourceObject, D destinationObject, MappingContext context)
          Maps the properties of sourceObject onto destinationObject.
<S,D> void
MapperFacade.map(S sourceObject, D destinationObject, Type<S> sourceType, Type<D> destinationType, MappingContext context)
          Maps the properties of sourceObject onto destinationObject, using sourceType and destinationType to specify the parameterized types of the source and destination object.
<S,D> D
MapperFacade.map(S sourceObject, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> D[]
MapperFacade.mapAsArray(D[] destination, Iterable<S> source, Class<D> destinationClass, MappingContext context)
           
<S,D> D[]
MapperFacade.mapAsArray(D[] destination, Iterable<S> source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<Sk,Sv,D> D[]
MapperFacade.mapAsArray(D[] destination, Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> D[]
MapperFacade.mapAsArray(D[] destination, S[] source, Class<D> destinationClass, MappingContext context)
           
<S,D> D[]
MapperFacade.mapAsArray(D[] destination, S[] source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> void
MapperFacade.mapAsCollection(Iterable<S> source, Collection<D> destination, Class<D> destinationClass, MappingContext context)
          Map an iterable onto an existing collection
<S,D> void
MapperFacade.mapAsCollection(Iterable<S> source, Collection<D> destination, Type<S> sourceType, Type<D> destinationType, MappingContext context)
          Map an iterable onto an existing collection
<S,D> void
MapperFacade.mapAsCollection(S[] source, Collection<D> destination, Class<D> destinationCollection, MappingContext context)
          Map an array onto an existing collection
<S,D> void
MapperFacade.mapAsCollection(S[] source, Collection<D> destination, Type<S> sourceType, Type<D> destinationType, MappingContext context)
          Map an array onto an existing collection
<S,D> List<D>
MapperFacade.mapAsList(Iterable<S> source, Class<D> destinationClass, MappingContext context)
          Maps the source Iterable into a new List parameterized by destinationClass.
<S,D> List<D>
MapperFacade.mapAsList(Iterable<S> source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<Sk,Sv,D> List<D>
MapperFacade.mapAsList(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> List<D>
MapperFacade.mapAsList(S[] source, Class<D> destinationClass, MappingContext context)
          Maps the source Array into a new List parameterized by destinationClass.
<S,D> List<D>
MapperFacade.mapAsList(S[] source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,Dk,Dv> Map<Dk,Dv>
MapperFacade.mapAsMap(Iterable<S> source, Type<S> sourceType, Type<? extends Map<Dk,Dv>> destinationType, MappingContext context)
           
<Sk,Sv,Dk,Dv>
Map<Dk,Dv>
MapperFacade.mapAsMap(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<? extends Map<Dk,Dv>> destinationType, MappingContext context)
          Map from one instance of java.util.Map to another.
<S,Dk,Dv> Map<Dk,Dv>
MapperFacade.mapAsMap(S[] source, Type<S> sourceType, Type<? extends Map<Dk,Dv>> destinationType, MappingContext context)
           
<S,D> Set<D>
MapperFacade.mapAsSet(Iterable<S> source, Class<D> destinationClass, MappingContext context)
          Maps the source iterable into a new Set parameterized by destinationClass.
<S,D> Set<D>
MapperFacade.mapAsSet(Iterable<S> source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<Sk,Sv,D> Set<D>
MapperFacade.mapAsSet(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> Set<D>
MapperFacade.mapAsSet(S[] source, Class<D> destinationClass, MappingContext context)
          Maps the source Array into a new Set parameterized by destinationClass.
<S,D> Set<D>
MapperFacade.mapAsSet(S[] source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
 void MapperBase.mapAtoB(A a, B b, MappingContext context)
          Deprecated.  
 void MapperBase.MapperBaseAdapter.mapAtoB(A a, B b, MappingContext context)
           
 void Mapper.mapAtoB(A a, B b, MappingContext context)
          Maps the properties of an instance of type A to the properties of an instance of type B.
 void CustomMapper.mapAtoB(A a, B b, MappingContext context)
           
 void MapperBase.mapBtoA(B b, A a, MappingContext context)
          Deprecated.  
 void MapperBase.MapperBaseAdapter.mapBtoA(B b, A a, MappingContext context)
           
 void Mapper.mapBtoA(B b, A a, MappingContext context)
          Maps the properties of an instance of type B to the properties of an instance of type A.
 void CustomMapper.mapBtoA(B b, A a, MappingContext context)
           
 A BoundMapperFacade.mapReverse(B instanceB, A instanceA, MappingContext context)
          Maps properties (in place) from the instance of 'B' to the provided instance of 'A'
 A BoundMapperFacade.mapReverse(B instanceB, MappingContext context)
          Generates a new instance of the 'A' type based on the specified instance of 'B'
 B BoundMapperFacade.newObject(A source, MappingContext context)
          Returns a new instance of type B, using source instance of A for context
<S,D> D
MapperFacade.newObject(S source, Type<? extends D> destinationClass, MappingContext context)
          Create new instance of a destination class.
 A BoundMapperFacade.newObjectReverse(B source, MappingContext context)
          Returns a new instance of type A, using source instance of B for context
 void MappingContextFactory.release(MappingContext context)
          Allows for implementations that reuse objects to clean-up/clear any resources associated with the particular context instance once it is no longer needed.
 void MappingContext.Factory.release(MappingContext context)
           
<S,D> MappingStrategy
MapperFacade.resolveMappingStrategy(S sourceObject, Type rawAType, Type rawBType, boolean mapInPlace, MappingContext context)
          Resolves a reusable MappingStrategy for the given set of inputs.
 

Uses of MappingContext in ma.glasnost.orika.impl
 

Methods in ma.glasnost.orika.impl with parameters of type MappingContext
 T DefaultConstructorObjectFactory.create(Object source, MappingContext mappingContext)
           
<S,D> Type<? extends D>
DefaultMapperFactory.lookupConcreteDestinationType(Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
 Mapper<Object,Object> DefaultMapperFactory.lookupMapper(MapperKey mapperKey, MappingContext context)
          Searches for a Mapper which is capable of mapping the classes identified by the provided MapperKey instance
<T> ObjectFactory<T>
DefaultMapperFactory.lookupObjectFactory(Type<T> type, MappingContext context)
           
<S,D> D
MapperFacadeImpl.map(S sourceObject, Class<D> destinationClass, MappingContext context)
           
<S,D> D
ConfigurableMapper.map(S sourceObject, Class<D> destinationClass, MappingContext context)
           
<S,D> void
MapperFacadeImpl.map(S sourceObject, D destinationObject, MappingContext context)
           
<S,D> void
ConfigurableMapper.map(S sourceObject, D destinationObject, MappingContext context)
           
<S,D> void
MapperFacadeImpl.map(S sourceObject, D destinationObject, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> void
ConfigurableMapper.map(S sourceObject, D destinationObject, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> D
MapperFacadeImpl.map(S sourceObject, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> D
ConfigurableMapper.map(S sourceObject, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
protected  void GeneratedObjectBase.mapArray(boolean[] destination, List<Object> source, Class<?> clazz, MappingContext mappingContext)
           
protected  void GeneratedObjectBase.mapArray(byte[] destination, List<Object> source, Class<?> clazz, MappingContext mappingContext)
           
protected  void GeneratedObjectBase.mapArray(char[] destination, List<Object> source, Class<?> clazz, MappingContext mappingContext)
           
protected  void GeneratedObjectBase.mapArray(double[] destination, List<Object> source, Class<?> clazz, MappingContext mappingContext)
           
protected  void GeneratedObjectBase.mapArray(float[] destination, List<Object> source, Class<?> clazz, MappingContext mappingContext)
           
protected  void GeneratedObjectBase.mapArray(int[] destination, List<Object> source, Class<?> clazz, MappingContext mappingContext)
           
protected  void GeneratedObjectBase.mapArray(long[] destination, List<Object> source, Class<?> clazz, MappingContext mappingContext)
           
protected  void GeneratedObjectBase.mapArray(short[] destination, List<Object> source, Class<?> clazz, MappingContext mappingContext)
           
<S,D> D[]
MapperFacadeImpl.mapAsArray(D[] destination, Iterable<S> source, Class<D> destinationClass, MappingContext context)
           
<S,D> D[]
ConfigurableMapper.mapAsArray(D[] destination, Iterable<S> source, Class<D> destinationClass, MappingContext context)
           
<S,D> D[]
MapperFacadeImpl.mapAsArray(D[] destination, Iterable<S> source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> D[]
ConfigurableMapper.mapAsArray(D[] destination, Iterable<S> source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<Sk,Sv,D> D[]
MapperFacadeImpl.mapAsArray(D[] destination, Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType, MappingContext context)
           
<Sk,Sv,D> D[]
ConfigurableMapper.mapAsArray(D[] destination, Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> D[]
MapperFacadeImpl.mapAsArray(D[] destination, S[] source, Class<D> destinationClass, MappingContext context)
           
<S,D> D[]
ConfigurableMapper.mapAsArray(D[] destination, S[] source, Class<D> destinationClass, MappingContext context)
           
<S,D> D[]
MapperFacadeImpl.mapAsArray(D[] destination, S[] source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> D[]
ConfigurableMapper.mapAsArray(D[] destination, S[] source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> void
MapperFacadeImpl.mapAsCollection(Iterable<S> source, Collection<D> destination, Class<D> destinationClass, MappingContext context)
           
<S,D> void
ConfigurableMapper.mapAsCollection(Iterable<S> source, Collection<D> destination, Class<D> destinationClass, MappingContext context)
           
<S,D> void
MapperFacadeImpl.mapAsCollection(Iterable<S> source, Collection<D> destination, Type<S> sourceType, Type<D> destinationType, MappingContext context)
          Map an iterable onto an existing collection
<S,D> void
ConfigurableMapper.mapAsCollection(Iterable<S> source, Collection<D> destination, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> void
MapperFacadeImpl.mapAsCollection(S[] source, Collection<D> destination, Class<D> destinationClass, MappingContext context)
           
<S,D> void
ConfigurableMapper.mapAsCollection(S[] source, Collection<D> destination, Class<D> destinationCollection, MappingContext context)
           
<S,D> void
MapperFacadeImpl.mapAsCollection(S[] source, Collection<D> destination, Type<S> sourceType, Type<D> destinationType, MappingContext context)
          Map an array onto an existing collection
<S,D> void
ConfigurableMapper.mapAsCollection(S[] source, Collection<D> destination, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> List<D>
MapperFacadeImpl.mapAsList(Iterable<S> source, Class<D> destinationClass, MappingContext context)
           
<S,D> List<D>
ConfigurableMapper.mapAsList(Iterable<S> source, Class<D> destinationClass, MappingContext context)
           
<S,D> List<D>
MapperFacadeImpl.mapAsList(Iterable<S> source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> List<D>
ConfigurableMapper.mapAsList(Iterable<S> source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<Sk,Sv,D> List<D>
MapperFacadeImpl.mapAsList(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType, MappingContext context)
           
<Sk,Sv,D> List<D>
ConfigurableMapper.mapAsList(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> List<D>
MapperFacadeImpl.mapAsList(S[] source, Class<D> destinationClass, MappingContext context)
           
<S,D> List<D>
ConfigurableMapper.mapAsList(S[] source, Class<D> destinationClass, MappingContext context)
           
<S,D> List<D>
MapperFacadeImpl.mapAsList(S[] source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> List<D>
ConfigurableMapper.mapAsList(S[] source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,Dk,Dv> Map<Dk,Dv>
MapperFacadeImpl.mapAsMap(Iterable<S> source, Type<S> sourceType, Type<? extends Map<Dk,Dv>> destinationType, MappingContext context)
           
<S,Dk,Dv> Map<Dk,Dv>
ConfigurableMapper.mapAsMap(Iterable<S> source, Type<S> sourceType, Type<? extends Map<Dk,Dv>> destinationType, MappingContext context)
           
<Sk,Sv,Dk,Dv>
Map<Dk,Dv>
MapperFacadeImpl.mapAsMap(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<? extends Map<Dk,Dv>> destinationType, MappingContext context)
           
<Sk,Sv,Dk,Dv>
Map<Dk,Dv>
ConfigurableMapper.mapAsMap(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<? extends Map<Dk,Dv>> destinationType, MappingContext context)
           
<S,Dk,Dv> Map<Dk,Dv>
MapperFacadeImpl.mapAsMap(S[] source, Type<S> sourceType, Type<? extends Map<Dk,Dv>> destinationType, MappingContext context)
           
<S,Dk,Dv> Map<Dk,Dv>
ConfigurableMapper.mapAsMap(S[] source, Type<S> sourceType, Type<? extends Map<Dk,Dv>> destinationType, MappingContext context)
           
<S,D> Set<D>
MapperFacadeImpl.mapAsSet(Iterable<S> source, Class<D> destinationClass, MappingContext context)
           
<S,D> Set<D>
ConfigurableMapper.mapAsSet(Iterable<S> source, Class<D> destinationClass, MappingContext context)
           
<S,D> Set<D>
MapperFacadeImpl.mapAsSet(Iterable<S> source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> Set<D>
ConfigurableMapper.mapAsSet(Iterable<S> source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<Sk,Sv,D> Set<D>
MapperFacadeImpl.mapAsSet(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType, MappingContext context)
           
<Sk,Sv,D> Set<D>
ConfigurableMapper.mapAsSet(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> Set<D>
MapperFacadeImpl.mapAsSet(S[] source, Class<D> destinationClass, MappingContext context)
           
<S,D> Set<D>
ConfigurableMapper.mapAsSet(S[] source, Class<D> destinationClass, MappingContext context)
           
<S,D> Set<D>
MapperFacadeImpl.mapAsSet(S[] source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
<S,D> Set<D>
ConfigurableMapper.mapAsSet(S[] source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
           
 void ReversedMapper.mapAtoB(A a, B b, MappingContext context)
           
 void GeneratedMapperBase.mapAtoB(Object a, Object b, MappingContext context)
           
 void ReversedMapper.mapBtoA(B b, A a, MappingContext context)
           
 void GeneratedMapperBase.mapBtoA(Object b, Object a, MappingContext context)
           
<S,D> D
MapperFacadeImpl.newObject(S sourceObject, Type<? extends D> destinationType, MappingContext context)
           
<S,D> D
ConfigurableMapper.newObject(S source, Type<? extends D> destinationClass, MappingContext context)
           
<S,D> MappingStrategy
MapperFacadeImpl.resolveMappingStrategy(S sourceObject, Type initialSourceType, Type initialDestinationType, boolean mapInPlace, MappingContext context)
          Resolves a reusable MappingStrategy for the given set of inputs.
<S,D> MappingStrategy
ConfigurableMapper.resolveMappingStrategy(S sourceObject, Type rawAType, Type rawBType, boolean mapInPlace, MappingContext context)
           
 

Uses of MappingContext in ma.glasnost.orika.impl.generator
 

Methods in ma.glasnost.orika.impl.generator that return MappingContext
 MappingContext SourceCodeContext.getMappingContext()
           
 

Methods in ma.glasnost.orika.impl.generator with parameters of type MappingContext
 GeneratedMapperBase MapperGenerator.build(ClassMap<?,?> classMap, MappingContext context)
           
 GeneratedObjectFactory ObjectFactoryGenerator.build(Type<?> type, MappingContext context)
           
 

Constructors in ma.glasnost.orika.impl.generator with parameters of type MappingContext
SourceCodeContext(String baseClassName, Class<?> superClass, MappingContext mappingContext, StringBuilder logDetails)
          Constructs a new instance of SourceCodeContext
 

Uses of MappingContext in ma.glasnost.orika.impl.mapping.strategy
 

Methods in ma.glasnost.orika.impl.mapping.strategy with parameters of type MappingContext
protected abstract  Object UseCustomMapperStrategy.getInstance(Object sourceObject, Object destinationObject, MappingContext context)
          Gets an instance of the destination object to be mapped; may return the provided destinationObject for map-in-place scenarios
protected  Object MapExistingAndUseCustomMapperStrategy.getInstance(Object sourceObject, Object destinationObject, MappingContext context)
           
protected  Object InstantiateByDefaultAndUseCustomMapperStrategy.getInstance(Object sourceObject, Object destinationObject, MappingContext context)
           
protected  Object InstantiateAndUseCustomMapperStrategy.getInstance(Object sourceObject, Object destinationObject, MappingContext context)
           
 Object UseCustomMapperStrategy.map(Object sourceObject, Object destinationObject, MappingContext context)
           
 Object UseConverterStrategy.map(Object sourceObject, Object destinationObject, MappingContext context)
           
 Object MappingStrategy.map(Object sourceObject, Object destinationObject, MappingContext context)
          Perform the mapping
 Object CopyByReferenceStrategy.map(Object sourceObject, Object destinationObject, MappingContext context)
           
 



Copyright © 2013 Glasnost. All Rights Reserved.