| Modifier and Type | Field and Description |
|---|---|
protected Type<A> |
CustomMapper.aType |
protected Type<B> |
CustomMapper.bType |
protected Type<D> |
CustomConverter.destinationType |
protected Type<?> |
MappingContext.resolvedDestinationType |
protected Type<?> |
MappingContext.resolvedSourceType |
protected Type<S> |
CustomConverter.sourceType |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Type<?>,Type<?>> |
MappingContext.mapping |
protected Map<Type<?>,Type<?>> |
MappingContext.mapping |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Type<MapEntry<K,V>> |
MapEntry.concreteEntryType(Type<? extends Map<K,V>> mapType)
Returns the concrete
MapEntry<K,V> type that represents the entries of the given map |
static <K,V> Type<Map.Entry<K,V>> |
MapEntry.entryType(Type<? extends Map<K,V>> mapType)
Returns the
Map.Entry<K,V> type that represents the entries of the given map |
Type<A> |
MappedTypePair.getAType() |
Type<S> |
CustomConverter.getAType() |
Type<A> |
CustomFilter.getAType() |
Type<A> |
CustomFilter.MappedTypePairHolder.getAType() |
Type<A> |
CustomMapper.getAType() |
Type<B> |
MappedTypePair.getBType() |
Type<D> |
CustomConverter.getBType() |
Type<B> |
CustomFilter.getBType() |
Type<B> |
CustomFilter.MappedTypePairHolder.getBType() |
Type<B> |
CustomMapper.getBType() |
<S,D> Type<? extends D> |
MappingContext.getConcreteClass(Type<S> sourceType,
Type<D> destinationType)
Searches for a concrete class that has been registered for the given
abstract class or interface within this mapping session.
|
Type<?> |
MappingException.getDestinationType() |
Type<?> |
MappingContext.getResolvedDestinationType() |
Type<?> |
MappingContext.getResolvedSourceType() |
Type<?> |
MappingException.getSourceType() |
<S,D> Type<? extends D> |
MapperFactory.lookupConcreteDestinationType(Type<S> sourceType,
Type<D> destinationType,
MappingContext context) |
| Modifier and Type | Method and Description |
|---|---|
Set<Type<? extends Object>> |
MapperFactory.lookupMappedClasses(Type<?> type)
Get the set of classes which have been mapped for the specified type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MappingContext.beginMapping(Type<?> sourceType,
Object source,
Type<?> destType,
Object dest)
Deprecated.
This variant exists for backwards compatibility only; if
overriding, override
#beginMapping(Type, String, Object, Type, String, Object)
instead. |
void |
MappingContext.beginMapping(Type<?> sourceType,
Object source,
Type<?> destType,
Object dest)
Deprecated.
This variant exists for backwards compatibility only; if
overriding, override
#beginMapping(Type, String, Object, Type, String, Object)
instead. |
void |
MappingContext.beginMappingField(String sourceName,
Type<?> sourceType,
Object source,
String destName,
Type<?> destType,
Object dest)
Mark the start of mapping a particular field
|
void |
MappingContext.beginMappingField(String sourceName,
Type<?> sourceType,
Object source,
String destName,
Type<?> destType,
Object dest)
Mark the start of mapping a particular field
|
<S,D> void |
MappingContext.cacheMappedObject(S source,
Type<Object> destinationType,
D destination)
Caches an object instance which has been mapped for a particular source
instance and destination type in this mapping context; this will later be
referenced in avoiding infinite recursion mapping the same object.
|
boolean |
Converter.canConvert(Type<?> sourceType,
Type<?> destinationType)
Answers whether this converter can be used to handle the conversion of
sourceType to destinationType. |
boolean |
Converter.canConvert(Type<?> sourceType,
Type<?> destinationType)
Answers whether this converter can be used to handle the conversion of
sourceType to destinationType. |
boolean |
CustomConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
CustomConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
<A,B> ClassMapBuilder<A,B> |
MapperFactory.classMap(Class<A> aType,
Type<B> bType)
Constructs a new ClassMapBuilder instance initialized with the provided
types which can be used to configure/customize the mapping between the
two types.
The returned ClassMapBuilder instance, after being fully configured, should finally be registered with the factory using the registerClassMap method. |
<A,B> ClassMapBuilder<A,B> |
MapperFactory.classMap(Type<A> aType,
Class<B> bType)
Constructs a new ClassMapBuilder instance initialized with the provided
types which can be used to configure/customize the mapping between the
two types.
The returned ClassMapBuilder instance, after being fully configured, should finally be registered with the factory using the registerClassMap method. |
<A,B> ClassMapBuilder<A,B> |
MapperFactory.classMap(Type<A> aType,
Type<B> bType)
Constructs a new ClassMapBuilder instance initialized with the provided
types which can be used to configure/customize the mapping between the
two types.
The returned ClassMapBuilder instance, after being fully configured, should finally be registered with the factory using the registerClassMap method. |
<A,B> ClassMapBuilder<A,B> |
MapperFactory.classMap(Type<A> aType,
Type<B> bType)
Constructs a new ClassMapBuilder instance initialized with the provided
types which can be used to configure/customize the mapping between the
two types.
The returned ClassMapBuilder instance, after being fully configured, should finally be registered with the factory using the registerClassMap method. |
static <K,V> Type<MapEntry<K,V>> |
MapEntry.concreteEntryType(Type<? extends Map<K,V>> mapType)
Returns the concrete
MapEntry<K,V> type that represents the entries of the given map |
D |
Converter.convert(S source,
Type<? extends D> destinationType,
MappingContext mappingContext)
Perform the conversion of
source into a new instance of
destinationType. |
<S,D> D |
MapperFacade.convert(S source,
Type<S> sourceType,
Type<D> destinationType,
String converterId,
MappingContext mappingContext)
Convert the source object into the appropriate destination type
|
<S,D> D |
MapperFacade.convert(S source,
Type<S> sourceType,
Type<D> destinationType,
String converterId,
MappingContext mappingContext)
Convert the source object into the appropriate destination type
|
static <K,V> Type<Map.Entry<K,V>> |
MapEntry.entryType(Type<? extends Map<K,V>> mapType)
Returns the
Map.Entry<K,V> type that represents the entries of the given map |
boolean |
MapperFactory.existsRegisteredMapper(Type<?> sourceType,
Type<?> destinationType,
boolean includeAutoGeneratedMappers)
Tests for the existence of a registered mapper which corresponds to the
supplied mapperKey
|
boolean |
MapperFactory.existsRegisteredMapper(Type<?> sourceType,
Type<?> destinationType,
boolean includeAutoGeneratedMappers)
Tests for the existence of a registered mapper which corresponds to the
supplied mapperKey
|
<D extends B> |
NullFilter.filterDestination(D destinationValue,
Type<?> sourceType,
String sourceName,
Type<D> destType,
String destName,
MappingContext mappingContext) |
<D extends B> |
NullFilter.filterDestination(D destinationValue,
Type<?> sourceType,
String sourceName,
Type<D> destType,
String destName,
MappingContext mappingContext) |
<D extends B> |
Filter.filterDestination(D destinationValue,
Type<?> sourceType,
String sourceName,
Type<D> destType,
String destName,
MappingContext mappingContext)
This method is called to provide the Filter an opportunity to modify the
destination field's value in some way before it is mapped onto the
destination type.
|
<D extends B> |
Filter.filterDestination(D destinationValue,
Type<?> sourceType,
String sourceName,
Type<D> destType,
String destName,
MappingContext mappingContext)
This method is called to provide the Filter an opportunity to modify the
destination field's value in some way before it is mapped onto the
destination type.
|
<S extends A> |
NullFilter.filterSource(S sourceValue,
Type<S> sourceType,
String sourceName,
Type<?> destType,
String destName,
MappingContext mappingContext) |
<S extends A> |
NullFilter.filterSource(S sourceValue,
Type<S> sourceType,
String sourceName,
Type<?> destType,
String destName,
MappingContext mappingContext) |
<S extends A> |
Filter.filterSource(S sourceValue,
Type<S> sourceType,
String sourceName,
Type<?> destType,
String destName,
MappingContext mappingContext)
This method is called to provide the Filter an opportunity to replace the
source field value before it is passed into the mapping code which
transforms it to the destination type.
|
<S extends A> |
Filter.filterSource(S sourceValue,
Type<S> sourceType,
String sourceName,
Type<?> destType,
String destName,
MappingContext mappingContext)
This method is called to provide the Filter an opportunity to replace the
source field value before it is passed into the mapping code which
transforms it to the destination type.
|
<S,D> Type<? extends D> |
MappingContext.getConcreteClass(Type<S> sourceType,
Type<D> destinationType)
Searches for a concrete class that has been registered for the given
abstract class or interface within this mapping session.
|
<S,D> Type<? extends D> |
MappingContext.getConcreteClass(Type<S> sourceType,
Type<D> destinationType)
Searches for a concrete class that has been registered for the given
abstract class or interface within this mapping session.
|
<D> D |
MappingContext.getMappedObject(Object source,
Type<?> destinationType)
Looks for an object which has already been mapped for the source and
destination type in this context.
|
<A,B> BoundMapperFacade<A,B> |
MapperFactory.getMapperFacade(Type<A> aType,
Type<B> bType)
Returns a BoundMapperFacade for the specified source and destination
types; this mapper is bidirectional by default, and provides signatures for
mapping in place, or with instantiation, as needed.
|
<A,B> BoundMapperFacade<A,B> |
MapperFactory.getMapperFacade(Type<A> aType,
Type<B> bType)
Returns a BoundMapperFacade for the specified source and destination
types; this mapper is bidirectional by default, and provides signatures for
mapping in place, or with instantiation, as needed.
|
<A,B> BoundMapperFacade<A,B> |
MapperFactory.getMapperFacade(Type<A> aType,
Type<B> bType,
boolean containsCycles)
Returns a BoundMapperFacade for the specified source and destination
types; this mapper is bidirectional by default, and provides signatures for
mapping in place, or with instantiation, as needed.
In the case that false is provided for the 'containsCycles' parameter,
an optimized mapper instance will be provided. |
<A,B> BoundMapperFacade<A,B> |
MapperFactory.getMapperFacade(Type<A> aType,
Type<B> bType,
boolean containsCycles)
Returns a BoundMapperFacade for the specified source and destination
types; this mapper is bidirectional by default, and provides signatures for
mapping in place, or with instantiation, as needed.
In the case that false is provided for the 'containsCycles' parameter,
an optimized mapper instance will be provided. |
<S,D> Type<? extends D> |
MapperFactory.lookupConcreteDestinationType(Type<S> sourceType,
Type<D> destinationType,
MappingContext context) |
<S,D> Type<? extends D> |
MapperFactory.lookupConcreteDestinationType(Type<S> sourceType,
Type<D> destinationType,
MappingContext context) |
Set<Type<? extends Object>> |
MapperFactory.lookupMappedClasses(Type<?> type)
Get the set of classes which have been mapped for the specified type.
|
<T> ObjectFactory<T> |
MapperFactory.lookupObjectFactory(Type<T> targetType)
Deprecated.
use
MapperFactory.lookupObjectFactory(Type, Type) instead |
<T,S> ObjectFactory<T> |
MapperFactory.lookupObjectFactory(Type<T> targetType,
Type<S> sourceType)
Return the object factory (if any) which has been registered for the
given type.
|
<T,S> ObjectFactory<T> |
MapperFactory.lookupObjectFactory(Type<T> targetType,
Type<S> sourceType)
Return the object factory (if any) which has been registered for the
given type.
|
<T,S> ObjectFactory<T> |
MapperFactory.lookupObjectFactory(Type<T> targetType,
Type<S> sourceType,
MappingContext context)
Return the object factory (if any) which has been registered for the
given type.
|
<T,S> ObjectFactory<T> |
MapperFactory.lookupObjectFactory(Type<T> targetType,
Type<S> sourceType,
MappingContext context)
Return the object factory (if any) which has been registered for the
given type.
|
<S,D> void |
MapperFacade.map(S sourceObject,
D destinationObject,
Type<S> sourceType,
Type<D> destinationType)
Maps the properties of
sourceObject onto
destinationObject, using sourceType and
destinationType to specify the parameterized types of the
source and destination object. |
<S,D> void |
MapperFacade.map(S sourceObject,
D destinationObject,
Type<S> sourceType,
Type<D> destinationType)
Maps the properties of
sourceObject onto
destinationObject, using sourceType and
destinationType to specify the parameterized types of the
source and destination object. |
<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> 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)
Create and return a new instance of type D mapped with the properties of
sourceObject. |
<S,D> D |
MapperFacade.map(S sourceObject,
Type<S> sourceType,
Type<D> destinationType)
Create and return a new instance of type D mapped with the properties of
sourceObject. |
<S,D> D |
MapperFacade.map(S sourceObject,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Create and return a new instance of type D mapped with the properties of
sourceObject. |
<S,D> D |
MapperFacade.map(S sourceObject,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Create and return a new instance of type D mapped with the properties of
sourceObject. |
<S,D> D[] |
MapperFacade.mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Array into a new List parameterized by
destinationType. |
<S,D> D[] |
MapperFacade.mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Array into a new List parameterized by
destinationType. |
<S,D> D[] |
MapperFacade.mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Iterable into the destination Array
|
<S,D> D[] |
MapperFacade.mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Iterable into the destination Array
|
<Sk,Sv,D> D[] |
MapperFacade.mapAsArray(D[] destination,
Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType)
Map from a java.util.Map to a Set
|
<Sk,Sv,D> D[] |
MapperFacade.mapAsArray(D[] destination,
Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType)
Map from a java.util.Map to a Set
|
<Sk,Sv,D> D[] |
MapperFacade.mapAsArray(D[] destination,
Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType,
MappingContext context)
Map from a java.util.Map to a Set
|
<Sk,Sv,D> D[] |
MapperFacade.mapAsArray(D[] destination,
Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType,
MappingContext context)
Map from a java.util.Map to a Set
|
<S,D> D[] |
MapperFacade.mapAsArray(D[] destination,
S[] source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Array into a new List parameterized by
destinationType. |
<S,D> D[] |
MapperFacade.mapAsArray(D[] destination,
S[] source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Array into a new List parameterized by
destinationType. |
<S,D> D[] |
MapperFacade.mapAsArray(D[] destination,
S[] source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Array into the destination Array
|
<S,D> D[] |
MapperFacade.mapAsArray(D[] destination,
S[] source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Array into the destination Array
|
<S,D> void |
MapperFacade.mapAsCollection(Iterable<S> source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType)
Map an iterable onto an existing collection
|
<S,D> void |
MapperFacade.mapAsCollection(Iterable<S> source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType)
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(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,
Type<S> sourceType,
Type<D> destinationType)
Map an array onto an existing collection
|
<S,D> void |
MapperFacade.mapAsCollection(S[] source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType)
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> 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,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Iterable into a new List parameterized by
destinationType. |
<S,D> List<D> |
MapperFacade.mapAsList(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Iterable into a new List parameterized by
destinationType. |
<S,D> List<D> |
MapperFacade.mapAsList(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Iterable into a new List parameterized by
destinationType. |
<S,D> List<D> |
MapperFacade.mapAsList(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Iterable into a new List parameterized by
destinationType. |
<Sk,Sv,D> List<D> |
MapperFacade.mapAsList(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType)
Map from a java.util.Map to a List
|
<Sk,Sv,D> List<D> |
MapperFacade.mapAsList(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType)
Map from a java.util.Map to a List
|
<Sk,Sv,D> List<D> |
MapperFacade.mapAsList(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType,
MappingContext context)
Map from a java.util.Map to a List
|
<Sk,Sv,D> List<D> |
MapperFacade.mapAsList(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType,
MappingContext context)
Map from a java.util.Map to a List
|
<S,D> List<D> |
MapperFacade.mapAsList(S[] source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Array into a new List parameterized by
destinationType. |
<S,D> List<D> |
MapperFacade.mapAsList(S[] source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Array into a new List parameterized by
destinationType. |
<S,D> List<D> |
MapperFacade.mapAsList(S[] source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Array into a new List parameterized by
destinationType. |
<S,D> List<D> |
MapperFacade.mapAsList(S[] source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Array into a new List parameterized by
destinationType. |
<S,Dk,Dv> Map<Dk,Dv> |
MapperFacade.mapAsMap(Iterable<S> source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType)
Map from an Iterable to an instance of java.util.Map.
|
<S,Dk,Dv> Map<Dk,Dv> |
MapperFacade.mapAsMap(Iterable<S> source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType)
Map from an Iterable to an instance of java.util.Map.
|
<S,Dk,Dv> Map<Dk,Dv> |
MapperFacade.mapAsMap(Iterable<S> source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType,
MappingContext context)
Map from an Iterable to an instance of java.util.Map.
|
<S,Dk,Dv> Map<Dk,Dv> |
MapperFacade.mapAsMap(Iterable<S> source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType,
MappingContext context)
Map from an Iterable to an instance of java.util.Map.
|
<Sk,Sv,Dk,Dv> |
MapperFacade.mapAsMap(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<? extends Map<Dk,Dv>> destinationType)
Map from one instance of java.util.Map to another.
|
<Sk,Sv,Dk,Dv> |
MapperFacade.mapAsMap(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<? extends Map<Dk,Dv>> destinationType)
Map from one instance of java.util.Map to another.
|
<Sk,Sv,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.
|
<Sk,Sv,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)
Map from an Array to an instance of java.util.Map.
|
<S,Dk,Dv> Map<Dk,Dv> |
MapperFacade.mapAsMap(S[] source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType)
Map from an Array to an instance of java.util.Map.
|
<S,Dk,Dv> Map<Dk,Dv> |
MapperFacade.mapAsMap(S[] source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType,
MappingContext context)
Map from an Array to an instance of java.util.Map.
|
<S,Dk,Dv> Map<Dk,Dv> |
MapperFacade.mapAsMap(S[] source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType,
MappingContext context)
Map from an Array to an instance of java.util.Map.
|
<S,D> Set<D> |
MapperFacade.mapAsSet(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Iterable into a new Set parameterized by
destinationType. |
<S,D> Set<D> |
MapperFacade.mapAsSet(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Iterable into a new Set parameterized by
destinationType. |
<S,D> Set<D> |
MapperFacade.mapAsSet(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Iterable into a new Set parameterized by
destinationType. |
<S,D> Set<D> |
MapperFacade.mapAsSet(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Iterable into a new Set parameterized by
destinationType. |
<Sk,Sv,D> Set<D> |
MapperFacade.mapAsSet(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType)
Map from a java.util.Map to a Set
|
<Sk,Sv,D> Set<D> |
MapperFacade.mapAsSet(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType)
Map from a java.util.Map to a Set
|
<Sk,Sv,D> Set<D> |
MapperFacade.mapAsSet(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType,
MappingContext context)
Map from a java.util.Map to a Set
|
<Sk,Sv,D> Set<D> |
MapperFacade.mapAsSet(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType,
MappingContext context)
Map from a java.util.Map to a Set
|
<S,D> Set<D> |
MapperFacade.mapAsSet(S[] source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Array into a new Set parameterized by
destinationType. |
<S,D> Set<D> |
MapperFacade.mapAsSet(S[] source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Array into a new Set parameterized by
destinationType. |
<S,D> Set<D> |
MapperFacade.mapAsSet(S[] source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Array into a new Set parameterized by
destinationType. |
<S,D> Set<D> |
MapperFacade.mapAsSet(S[] source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Array into a new Set parameterized by
destinationType. |
<S,D> D |
MapperFacade.newObject(S source,
Type<? extends D> destinationType,
MappingContext context)
Create new instance of a destination class.
|
void |
MappingContext.registerConcreteClass(Type<?> subjectClass,
Type<?> concreteClass)
Registers a concrete class to be used for the given abstract class or
interface within this mapping session only.
|
void |
MappingContext.registerConcreteClass(Type<?> subjectClass,
Type<?> concreteClass)
Registers a concrete class to be used for the given abstract class or
interface within this mapping session only.
|
void |
MapperFactory.registerConcreteType(Type<?> abstractType,
Type<?> concreteType)
Register a concrete type to use when a need arises to generate a new
instance of a given abstract type (abstract class or interface)
|
void |
MapperFactory.registerConcreteType(Type<?> abstractType,
Type<?> concreteType)
Register a concrete type to use when a need arises to generate a new
instance of a given abstract type (abstract class or interface)
|
<T> void |
MapperFactory.registerObjectFactory(ObjectFactory<T> objectFactory,
Type<T> targetType)
Register the given ObjectFactory with the MapperFactory; it will be used
when constructing new instances of the specified targetType.
|
<T,S> void |
MapperFactory.registerObjectFactory(ObjectFactory<T> objectFactory,
Type<T> targetType,
Type<S> sourceType)
Register the given ObjectFactory with the MapperFactory; it will be used
when constructing new instances of the specified targetType when it is
being mapped from the specified source type.
|
<T,S> void |
MapperFactory.registerObjectFactory(ObjectFactory<T> objectFactory,
Type<T> targetType,
Type<S> sourceType)
Register the given ObjectFactory with the MapperFactory; it will be used
when constructing new instances of the specified targetType when it is
being mapped from the specified source type.
|
void |
MappingException.setDestinationType(Type<?> destinationType) |
void |
MappingContext.setResolvedDestinationType(Type<?> resolvedDestinationType) |
void |
MappingContext.setResolvedSourceType(Type<?> resolvedSourceType) |
void |
MappingException.setSourceType(Type<?> sourceType) |
<S extends A,D extends B> |
NullFilter.shouldMap(Type<S> sourceType,
String sourceName,
S source,
Type<D> destType,
String destName,
D dest,
MappingContext mappingContext) |
<S extends A,D extends B> |
NullFilter.shouldMap(Type<S> sourceType,
String sourceName,
S source,
Type<D> destType,
String destName,
D dest,
MappingContext mappingContext) |
<S extends A,D extends B> |
Filter.shouldMap(Type<S> sourceType,
String sourceName,
S source,
Type<D> destType,
String destName,
D dest,
MappingContext mappingContext)
This method is called at runtime to determine whether the mapping implied
by the field names and types should be performed; if
false
is returned, the mapping is skipped. |
<S extends A,D extends B> |
Filter.shouldMap(Type<S> sourceType,
String sourceName,
S source,
Type<D> destType,
String destName,
D dest,
MappingContext mappingContext)
This method is called at runtime to determine whether the mapping implied
by the field names and types should be performed; if
false
is returned, the mapping is skipped. |
String |
MappingHint.DefaultFieldMappingConverter.suggestMappedField(String fromProperty,
Type<?> fromPropertyType) |
String |
DefaultFieldMapper.suggestMappedField(String fromProperty,
Type<?> fromPropertyType) |
| Constructor and Description |
|---|
MappedTypePairHolder(Type<A> aType,
Type<B> bType)
Create a MappedTypePairHolder with the given types.
|
MappedTypePairHolder(Type<A> aType,
Type<B> bType)
Create a MappedTypePairHolder with the given types.
|
| Modifier and Type | Method and Description |
|---|---|
Type<?>[] |
ConstructorResolverStrategy.ConstructorMapping.getParameterTypes() |
| Modifier and Type | Method and Description |
|---|---|
<T,A,B> ConstructorResolverStrategy.ConstructorMapping<T> |
SimpleConstructorResolverStrategy.resolve(ClassMap<A,B> classMap,
Type<T> sourceType) |
<T,A,B> ConstructorResolverStrategy.ConstructorMapping<T> |
ConstructorResolverStrategy.resolve(ClassMap<A,B> classMap,
Type<T> sourceType) |
void |
ConstructorResolverStrategy.ConstructorMapping.setParameterTypes(Type<?>[] parameterTypes) |
| Modifier and Type | Method and Description |
|---|---|
Type<Object> |
BidirectionalConverter.Reversed.getAType() |
Type<Object> |
BidirectionalConverter.Reversed.getBType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ConverterFactory.canConvert(Type<?> sourceType,
Type<?> destinationType)
Verify if there is an anonymous converter that can handle the conversion
between two types
|
boolean |
ConverterFactory.canConvert(Type<?> sourceType,
Type<?> destinationType)
Verify if there is an anonymous converter that can handle the conversion
between two types
|
boolean |
BidirectionalConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
BidirectionalConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
BidirectionalConverter.Reversed.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
BidirectionalConverter.Reversed.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DefaultConverterFactory.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DefaultConverterFactory.canConvert(Type<?> sourceType,
Type<?> destinationType) |
Object |
BidirectionalConverter.convert(Object source,
Type<? extends Object> destinationType,
MappingContext mappingContext) |
abstract S |
BidirectionalConverter.convertFrom(D source,
Type<S> destinationType,
MappingContext mappingContext) |
S |
BidirectionalConverter.Reversed.convertFrom(D source,
Type<S> destinationType,
MappingContext mappingContext) |
abstract D |
BidirectionalConverter.convertTo(S source,
Type<D> destinationType,
MappingContext mappingContext) |
D |
BidirectionalConverter.Reversed.convertTo(S source,
Type<D> destinationType,
MappingContext mappingContext) |
Converter<Object,Object> |
ConverterFactory.getConverter(Type<?> sourceType,
Type<?> destinationType)
Lookup for an anonymous converter that can handle the conversion between
these two types
|
Converter<Object,Object> |
ConverterFactory.getConverter(Type<?> sourceType,
Type<?> destinationType)
Lookup for an anonymous converter that can handle the conversion between
these two types
|
Converter<Object,Object> |
DefaultConverterFactory.getConverter(Type<?> sourceClass,
Type<?> destinationClass) |
Converter<Object,Object> |
DefaultConverterFactory.getConverter(Type<?> sourceClass,
Type<?> destinationClass) |
| Modifier and Type | Method and Description |
|---|---|
Type<com.google.common.base.Optional<S>> |
GuavaOptionalConverter.getAType() |
Type<com.google.common.base.Optional<D>> |
GuavaOptionalConverter.getBType() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
DateAndTimeConverters._polyCanConvert(Type<?> a,
Type<?> b,
Type<?> c,
Type<?> d) |
static boolean |
DateAndTimeConverters._polyCanConvert(Type<?> a,
Type<?> b,
Type<?> c,
Type<?> d) |
static boolean |
DateAndTimeConverters._polyCanConvert(Type<?> a,
Type<?> b,
Type<?> c,
Type<?> d) |
static boolean |
DateAndTimeConverters._polyCanConvert(Type<?> a,
Type<?> b,
Type<?> c,
Type<?> d) |
boolean |
WrapperToPrimitiveConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
WrapperToPrimitiveConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
FromStringConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
FromStringConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.XmlGregorianCalendarToSqlDateConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.XmlGregorianCalendarToSqlDateConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.XmlGregorianCalendarToTimeConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.XmlGregorianCalendarToTimeConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.DateToXmlGregorianCalendarConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.DateToXmlGregorianCalendarConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.CalendarToXmlGregorianCalendarConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.CalendarToXmlGregorianCalendarConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.LongToCalendarConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.LongToCalendarConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.LongToXmlGregorianCalendarConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.LongToXmlGregorianCalendarConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.XmlGregorianCalendarToTimestampConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
DateAndTimeConverters.XmlGregorianCalendarToTimestampConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
GuavaOptionalConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
GuavaOptionalConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
CopyByReferenceConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
CopyByReferenceConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
ConstructorConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
ConstructorConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
EnumConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
EnumConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
CloneableConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
CloneableConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
PassThroughConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
PassThroughConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
ToStringConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
boolean |
ToStringConverter.canConvert(Type<?> sourceType,
Type<?> destinationType) |
Object |
ConstructorConverter.convert(Object source,
Type<?> destinationType,
MappingContext context) |
Object |
WrapperToPrimitiveConverter.convert(Object source,
Type<? extends Object> destinationType,
MappingContext context) |
Object |
FromStringConverter.convert(Object source,
Type<? extends Object> destinationType,
MappingContext context) |
Object |
CopyByReferenceConverter.convert(Object source,
Type<? extends Object> destinationType,
MappingContext context) |
Object |
EnumConverter.convert(Object source,
Type<? extends Object> destinationType,
MappingContext context) |
Object |
CloneableConverter.convert(Object source,
Type<? extends Object> destinationType,
MappingContext context) |
Object |
PassThroughConverter.convert(Object source,
Type<? extends Object> destinationType,
MappingContext context) |
Object |
ToStringConverter.convert(Object source,
Type<? extends Object> destinationType,
MappingContext context) |
com.google.common.base.Optional<D> |
GuavaOptionalConverter.convert(com.google.common.base.Optional<S> optionalSource,
Type<? extends com.google.common.base.Optional<D>> destinationType,
MappingContext mappingContext) |
Date |
DateAndTimeConverters.DateToCalendarConverter.convertFrom(Calendar source,
Type<Date> destinationType,
MappingContext context) |
Long |
DateAndTimeConverters.LongToCalendarConverter.convertFrom(Calendar source,
Type<Long> destinationType,
MappingContext context) |
Timestamp |
DateAndTimeConverters.TimestampToCalendarConverter.convertFrom(Calendar source,
Type<Timestamp> destinationType,
MappingContext context) |
Calendar |
DateAndTimeConverters.CalendarToSqlDateConverter.convertFrom(Date source,
Type<Calendar> destinationType,
MappingContext context) |
Date |
DateAndTimeConverters.DateToSqlDateConverter.convertFrom(Date source,
Type<Date> destinationType,
MappingContext context) |
Long |
DateAndTimeConverters.LongToDateConverter.convertFrom(Date source,
Type<Long> destinationType,
MappingContext context) |
Long |
DateAndTimeConverters.LongToSqlDateConverter.convertFrom(Date source,
Type<Long> destinationType,
MappingContext context) |
Time |
DateAndTimeConverters.TimeToSqlDateConverter.convertFrom(Date source,
Type<Time> destinationType,
MappingContext context) |
Timestamp |
DateAndTimeConverters.TimestampToSqlDateConverter.convertFrom(Date source,
Type<Timestamp> destinationType,
MappingContext context) |
XMLGregorianCalendar |
DateAndTimeConverters.XmlGregorianCalendarToSqlDateConverter.convertFrom(Date source,
Type<XMLGregorianCalendar> destinationType,
MappingContext context) |
BigDecimal |
NumericConverters.BigDecimalToDoubleConverter.convertFrom(Double source,
Type<BigDecimal> destinationType,
MappingContext context) |
BigDecimal |
NumericConverters.BigDecimalToFloatConverter.convertFrom(Float source,
Type<BigDecimal> destinationType,
MappingContext context) |
BigInteger |
NumericConverters.BigIntegerToIntegerConverter.convertFrom(Integer source,
Type<BigInteger> destinationType,
MappingContext context) |
Double |
NumericConverters.DoubleToIntegerConverter.convertFrom(Integer source,
Type<Double> destinationType,
MappingContext context) |
Float |
NumericConverters.FloatToIntegerConverter.convertFrom(Integer source,
Type<Float> destinationType,
MappingContext context) |
Long |
NumericConverters.LongToIntegerConverter.convertFrom(Integer source,
Type<Long> destinationType,
MappingContext context) |
BigInteger |
NumericConverters.BigIntegerToLongConverter.convertFrom(Long source,
Type<BigInteger> destinationType,
MappingContext context) |
Double |
NumericConverters.DoubleToLongConverter.convertFrom(Long source,
Type<Double> destinationType,
MappingContext context) |
Float |
NumericConverters.FloatToLongConverter.convertFrom(Long source,
Type<Float> destinationType,
MappingContext context) |
Double |
NumericConverters.DoubleToShortConverter.convertFrom(Short source,
Type<Double> destinationType,
MappingContext context) |
Float |
NumericConverters.FloatToShortConverter.convertFrom(Short source,
Type<Float> destinationType,
MappingContext context) |
Integer |
NumericConverters.IntegerToShortConverter.convertFrom(Short source,
Type<Integer> destinationType,
MappingContext context) |
Long |
NumericConverters.LongToShortConverter.convertFrom(Short source,
Type<Long> destinationType,
MappingContext context) |
Date |
DateToStringConverter.convertFrom(String source,
Type<Date> destinationType,
MappingContext context) |
Date |
DateAndTimeConverters.DateToTimestampConverter.convertFrom(Timestamp source,
Type<Date> destinationType,
MappingContext context) |
Long |
DateAndTimeConverters.LongToTimestampConverter.convertFrom(Timestamp source,
Type<Long> destinationType,
MappingContext context) |
XMLGregorianCalendar |
DateAndTimeConverters.XmlGregorianCalendarToTimestampConverter.convertFrom(Timestamp source,
Type<XMLGregorianCalendar> destinationType,
MappingContext context) |
Calendar |
DateAndTimeConverters.CalendarToTimeConverter.convertFrom(Time source,
Type<Calendar> destinationType,
MappingContext context) |
Date |
DateAndTimeConverters.DateToTimeConverter.convertFrom(Time source,
Type<Date> destinationType,
MappingContext context) |
Long |
DateAndTimeConverters.LongToTimeConverter.convertFrom(Time source,
Type<Long> destinationType,
MappingContext context) |
Timestamp |
DateAndTimeConverters.TimestampToTimeConverter.convertFrom(Time source,
Type<Timestamp> destinationType,
MappingContext context) |
XMLGregorianCalendar |
DateAndTimeConverters.XmlGregorianCalendarToTimeConverter.convertFrom(Time source,
Type<XMLGregorianCalendar> destinationType,
MappingContext context) |
Calendar |
DateAndTimeConverters.CalendarToXmlGregorianCalendarConverter.convertFrom(XMLGregorianCalendar source,
Type<Calendar> destinationType,
MappingContext context) |
Date |
DateAndTimeConverters.DateToXmlGregorianCalendarConverter.convertFrom(XMLGregorianCalendar source,
Type<Date> destinationType,
MappingContext context) |
Long |
DateAndTimeConverters.LongToXmlGregorianCalendarConverter.convertFrom(XMLGregorianCalendar source,
Type<Long> destinationType,
MappingContext context) |
Double |
NumericConverters.BigDecimalToDoubleConverter.convertTo(BigDecimal source,
Type<Double> destinationType,
MappingContext context) |
Float |
NumericConverters.BigDecimalToFloatConverter.convertTo(BigDecimal source,
Type<Float> destinationType,
MappingContext context) |
Integer |
NumericConverters.BigIntegerToIntegerConverter.convertTo(BigInteger source,
Type<Integer> destinationType,
MappingContext context) |
Long |
NumericConverters.BigIntegerToLongConverter.convertTo(BigInteger source,
Type<Long> destinationType,
MappingContext context) |
Date |
DateAndTimeConverters.CalendarToSqlDateConverter.convertTo(Calendar source,
Type<Date> destinationType,
MappingContext context) |
Time |
DateAndTimeConverters.CalendarToTimeConverter.convertTo(Calendar source,
Type<Time> destinationType,
MappingContext context) |
XMLGregorianCalendar |
DateAndTimeConverters.CalendarToXmlGregorianCalendarConverter.convertTo(Calendar source,
Type<XMLGregorianCalendar> destinationType,
MappingContext context) |
Calendar |
DateAndTimeConverters.DateToCalendarConverter.convertTo(Date source,
Type<Calendar> destinationType,
MappingContext context) |
Date |
DateAndTimeConverters.DateToSqlDateConverter.convertTo(Date source,
Type<Date> destinationType,
MappingContext context) |
String |
DateToStringConverter.convertTo(Date source,
Type<String> destinationType,
MappingContext context) |
Time |
DateAndTimeConverters.DateToTimeConverter.convertTo(Date source,
Type<Time> destinationType,
MappingContext context) |
Timestamp |
DateAndTimeConverters.DateToTimestampConverter.convertTo(Date source,
Type<Timestamp> destinationType,
MappingContext context) |
XMLGregorianCalendar |
DateAndTimeConverters.DateToXmlGregorianCalendarConverter.convertTo(Date source,
Type<XMLGregorianCalendar> destinationType,
MappingContext context) |
Integer |
NumericConverters.DoubleToIntegerConverter.convertTo(Double source,
Type<Integer> destinationType,
MappingContext context) |
Long |
NumericConverters.DoubleToLongConverter.convertTo(Double source,
Type<Long> destinationType,
MappingContext context) |
Short |
NumericConverters.DoubleToShortConverter.convertTo(Double source,
Type<Short> destinationType,
MappingContext context) |
Integer |
NumericConverters.FloatToIntegerConverter.convertTo(Float source,
Type<Integer> destinationType,
MappingContext context) |
Long |
NumericConverters.FloatToLongConverter.convertTo(Float source,
Type<Long> destinationType,
MappingContext context) |
Short |
NumericConverters.FloatToShortConverter.convertTo(Float source,
Type<Short> destinationType,
MappingContext context) |
Short |
NumericConverters.IntegerToShortConverter.convertTo(Integer source,
Type<Short> destinationType,
MappingContext context) |
Calendar |
DateAndTimeConverters.LongToCalendarConverter.convertTo(Long source,
Type<Calendar> destinationType,
MappingContext context) |
Date |
DateAndTimeConverters.LongToDateConverter.convertTo(Long source,
Type<Date> destinationType,
MappingContext context) |
Date |
DateAndTimeConverters.LongToSqlDateConverter.convertTo(Long source,
Type<Date> destinationType,
MappingContext context) |
Integer |
NumericConverters.LongToIntegerConverter.convertTo(Long source,
Type<Integer> destinationType,
MappingContext context) |
Short |
NumericConverters.LongToShortConverter.convertTo(Long source,
Type<Short> destinationType,
MappingContext context) |
Time |
DateAndTimeConverters.LongToTimeConverter.convertTo(Long source,
Type<Time> destinationType,
MappingContext context) |
Timestamp |
DateAndTimeConverters.LongToTimestampConverter.convertTo(Long source,
Type<Timestamp> destinationType,
MappingContext context) |
XMLGregorianCalendar |
DateAndTimeConverters.LongToXmlGregorianCalendarConverter.convertTo(Long source,
Type<XMLGregorianCalendar> destinationType,
MappingContext context) |
Calendar |
DateAndTimeConverters.TimestampToCalendarConverter.convertTo(Timestamp source,
Type<Calendar> destinationType,
MappingContext context) |
Date |
DateAndTimeConverters.TimestampToSqlDateConverter.convertTo(Timestamp source,
Type<Date> destinationType,
MappingContext context) |
Time |
DateAndTimeConverters.TimestampToTimeConverter.convertTo(Timestamp source,
Type<Time> destinationType,
MappingContext context) |
Date |
DateAndTimeConverters.TimeToSqlDateConverter.convertTo(Time source,
Type<Date> destinationType,
MappingContext context) |
Date |
DateAndTimeConverters.XmlGregorianCalendarToSqlDateConverter.convertTo(XMLGregorianCalendar source,
Type<Date> destinationType,
MappingContext context) |
Time |
DateAndTimeConverters.XmlGregorianCalendarToTimeConverter.convertTo(XMLGregorianCalendar source,
Type<Time> destinationType,
MappingContext context) |
Timestamp |
DateAndTimeConverters.XmlGregorianCalendarToTimestampConverter.convertTo(XMLGregorianCalendar source,
Type<Timestamp> destinationType,
MappingContext context) |
static boolean |
DateAndTimeConverters.polyCanConvert(Type<?> a,
Type<?> b,
Type<?> c,
Type<?> d) |
static boolean |
DateAndTimeConverters.polyCanConvert(Type<?> a,
Type<?> b,
Type<?> c,
Type<?> d) |
static boolean |
DateAndTimeConverters.polyCanConvert(Type<?> a,
Type<?> b,
Type<?> c,
Type<?> d) |
static boolean |
DateAndTimeConverters.polyCanConvert(Type<?> a,
Type<?> b,
Type<?> c,
Type<?> d) |
| Constructor and Description |
|---|
GuavaOptionalConverter(Type<S> sourceType,
Type<D> destinationType)
Construct a new Optional converter configured to convert an Optional field
to another
Optional field. |
GuavaOptionalConverter(Type<S> sourceType,
Type<D> destinationType)
Construct a new Optional converter configured to convert an Optional field
to another
Optional field. |
| Modifier and Type | Field and Description |
|---|---|
protected Type<?>[] |
GeneratedObjectBase.usedTypes |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Type,Type<?>> |
DefaultMapperFactory.concreteTypeRegistry |
protected ConcurrentHashMap<Type<?>,Set<Type<?>>> |
DefaultMapperFactory.dynamicAToBRegistry |
protected ConcurrentHashMap<Type<?>,Set<Type<?>>> |
DefaultMapperFactory.dynamicAToBRegistry |
protected ConcurrentHashMap<Type<?>,Set<Type<?>>> |
DefaultMapperFactory.explicitAToBRegistry |
protected ConcurrentHashMap<Type<?>,Set<Type<?>>> |
DefaultMapperFactory.explicitAToBRegistry |
protected ConcurrentHashMap<Type<? extends Object>,ConcurrentHashMap<Type<? extends Object>,ObjectFactory<? extends Object>>> |
DefaultMapperFactory.objectFactoryRegistry |
protected ConcurrentHashMap<Type<? extends Object>,ConcurrentHashMap<Type<? extends Object>,ObjectFactory<? extends Object>>> |
DefaultMapperFactory.objectFactoryRegistry |
| Modifier and Type | Method and Description |
|---|---|
Type<Object> |
GeneratedMapperBase.getAType() |
Type<A> |
ReversedMapper.getAType() |
Type<Object> |
AggregateFilter.getAType() |
Type<Object> |
GeneratedMapperBase.getBType() |
Type<B> |
ReversedMapper.getBType() |
Type<Object> |
AggregateFilter.getBType() |
<S,D> Type<? extends D> |
DefaultMapperFactory.lookupConcreteDestinationType(Type<S> sourceType,
Type<D> destinationType,
MappingContext context) |
protected Type<?> |
DefaultMapperFactory.resolveConcreteType(Type<?> type,
Type<?> originalType) |
| Modifier and Type | Method and Description |
|---|---|
Set<Type<? extends Object>> |
DefaultMapperFactory.lookupMappedClasses(Type<?> type) |
| Modifier and Type | Method and Description |
|---|---|
<S,D> void |
NonCyclicMappingContext.cacheMappedObject(S source,
Type<Object> destinationType,
D destination) |
<A,B> ClassMapBuilder<A,B> |
DefaultMapperFactory.classMap(Class<A> aType,
Type<B> bType) |
<A,B> ClassMapBuilder<A,B> |
DefaultMapperFactory.classMap(Type<A> aType,
Class<B> bType) |
<A,B> ClassMapBuilder<A,B> |
DefaultMapperFactory.classMap(Type<A> aType,
Type<B> bType) |
<A,B> ClassMapBuilder<A,B> |
DefaultMapperFactory.classMap(Type<A> aType,
Type<B> bType) |
<S,D> D |
MapperFacadeImpl.convert(S source,
Type<S> sourceType,
Type<D> destinationType,
String converterId,
MappingContext context) |
<S,D> D |
MapperFacadeImpl.convert(S source,
Type<S> sourceType,
Type<D> destinationType,
String converterId,
MappingContext context) |
<S,D> D |
ConfigurableMapper.convert(S source,
Type<S> sourceType,
Type<D> destinationType,
String converterId,
MappingContext context) |
<S,D> D |
ConfigurableMapper.convert(S source,
Type<S> sourceType,
Type<D> destinationType,
String converterId,
MappingContext context) |
<S,D> BoundMapperFacade<S,D> |
ConfigurableMapper.dedicatedMapperFor(Type<S> sourceType,
Type<D> destinationType) |
<S,D> BoundMapperFacade<S,D> |
ConfigurableMapper.dedicatedMapperFor(Type<S> sourceType,
Type<D> destinationType) |
<S,D> BoundMapperFacade<S,D> |
ConfigurableMapper.dedicatedMapperFor(Type<S> sourceType,
Type<D> destinationType,
boolean containsCycles) |
<S,D> BoundMapperFacade<S,D> |
ConfigurableMapper.dedicatedMapperFor(Type<S> sourceType,
Type<D> destinationType,
boolean containsCycles) |
boolean |
DefaultMapperFactory.existsRegisteredMapper(Type<?> sourceType,
Type<?> destinationType,
boolean includeAutoGeneratedMappers) |
boolean |
DefaultMapperFactory.existsRegisteredMapper(Type<?> sourceType,
Type<?> destinationType,
boolean includeAutoGeneratedMappers) |
<D> D |
AggregateFilter.filterDestination(D destinationValue,
Type<?> sourceType,
String sourceName,
Type<D> destType,
String destName,
MappingContext mappingContext) |
<D> D |
AggregateFilter.filterDestination(D destinationValue,
Type<?> sourceType,
String sourceName,
Type<D> destType,
String destName,
MappingContext mappingContext) |
<S> S |
AggregateFilter.filterSource(S sourceValue,
Type<S> sourceType,
String sourceName,
Type<?> destType,
String destName,
MappingContext mappingContext) |
<S> S |
AggregateFilter.filterSource(S sourceValue,
Type<S> sourceType,
String sourceName,
Type<?> destType,
String destName,
MappingContext mappingContext) |
<D> D |
NonCyclicMappingContext.getMappedObject(Object source,
Type<?> destinationType) |
<S,D> BoundMapperFacade<S,D> |
DefaultMapperFactory.getMapperFacade(Type<S> sourceType,
Type<D> destinationType) |
<S,D> BoundMapperFacade<S,D> |
DefaultMapperFactory.getMapperFacade(Type<S> sourceType,
Type<D> destinationType) |
<S,D> BoundMapperFacade<S,D> |
DefaultMapperFactory.getMapperFacade(Type<S> sourceType,
Type<D> destinationType,
boolean containsCycles) |
<S,D> BoundMapperFacade<S,D> |
DefaultMapperFactory.getMapperFacade(Type<S> sourceType,
Type<D> destinationType,
boolean containsCycles) |
<S,D> Type<? extends D> |
DefaultMapperFactory.lookupConcreteDestinationType(Type<S> sourceType,
Type<D> destinationType,
MappingContext context) |
<S,D> Type<? extends D> |
DefaultMapperFactory.lookupConcreteDestinationType(Type<S> sourceType,
Type<D> destinationType,
MappingContext context) |
protected <T,S> ObjectFactory<T> |
DefaultMapperFactory.lookupExistingObjectFactory(Type<T> destinationType,
Type<S> sourceType,
MappingContext context) |
protected <T,S> ObjectFactory<T> |
DefaultMapperFactory.lookupExistingObjectFactory(Type<T> destinationType,
Type<S> sourceType,
MappingContext context) |
Set<Type<? extends Object>> |
DefaultMapperFactory.lookupMappedClasses(Type<?> type) |
<T> ObjectFactory<T> |
DefaultMapperFactory.lookupObjectFactory(Type<T> targetType) |
<T,S> ObjectFactory<T> |
DefaultMapperFactory.lookupObjectFactory(Type<T> targetType,
Type<S> sourceType) |
<T,S> ObjectFactory<T> |
DefaultMapperFactory.lookupObjectFactory(Type<T> targetType,
Type<S> sourceType) |
<T,S> ObjectFactory<T> |
DefaultMapperFactory.lookupObjectFactory(Type<T> destinationType,
Type<S> sourceType,
MappingContext context) |
<T,S> ObjectFactory<T> |
DefaultMapperFactory.lookupObjectFactory(Type<T> destinationType,
Type<S> sourceType,
MappingContext context) |
<S,D> void |
MapperFacadeImpl.map(S sourceObject,
D destinationObject,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> void |
MapperFacadeImpl.map(S sourceObject,
D destinationObject,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> void |
ConfigurableMapper.map(S sourceObject,
D destinationObject,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> void |
ConfigurableMapper.map(S sourceObject,
D destinationObject,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> void |
MapperFacadeImpl.map(S sourceObject,
D destinationObject,
Type<S> sourceType,
Type<D> destinationType,
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> 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> destinationClass) |
<S,D> D |
MapperFacadeImpl.map(S sourceObject,
Type<S> sourceType,
Type<D> destinationClass) |
<S,D> D |
ConfigurableMapper.map(S sourceObject,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> D |
ConfigurableMapper.map(S sourceObject,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> D |
MapperFacadeImpl.map(S sourceObject,
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) |
<S,D> D |
ConfigurableMapper.map(S sourceObject,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context) |
<S,D> D |
MapperFacadeImpl.map(S sourceObject,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context,
MappingStrategy suggestedStrategy) |
<S,D> D |
MapperFacadeImpl.map(S sourceObject,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context,
MappingStrategy suggestedStrategy) |
<S,D> D[] |
MapperFacadeImpl.mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> D[] |
MapperFacadeImpl.mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> D[] |
ConfigurableMapper.mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> D[] |
ConfigurableMapper.mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> D[] |
MapperFacadeImpl.mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
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) |
<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) |
<Sk,Sv,D> D[] |
MapperFacadeImpl.mapAsArray(D[] destination,
Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType) |
<Sk,Sv,D> D[] |
ConfigurableMapper.mapAsArray(D[] destination,
Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType) |
<Sk,Sv,D> D[] |
ConfigurableMapper.mapAsArray(D[] destination,
Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType) |
<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[] |
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) |
<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,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> D[] |
MapperFacadeImpl.mapAsArray(D[] destination,
S[] source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> D[] |
ConfigurableMapper.mapAsArray(D[] destination,
S[] source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> D[] |
ConfigurableMapper.mapAsArray(D[] destination,
S[] source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> D[] |
MapperFacadeImpl.mapAsArray(D[] destination,
S[] source,
Type<S> sourceType,
Type<D> destinationType,
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> 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,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> void |
MapperFacadeImpl.mapAsCollection(Iterable<S> source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> void |
ConfigurableMapper.mapAsCollection(Iterable<S> source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> void |
ConfigurableMapper.mapAsCollection(Iterable<S> source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType) |
<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 |
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 |
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,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> void |
MapperFacadeImpl.mapAsCollection(S[] source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> void |
ConfigurableMapper.mapAsCollection(S[] source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> void |
ConfigurableMapper.mapAsCollection(S[] source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType) |
<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 |
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> 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,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> List<D> |
MapperFacadeImpl.mapAsList(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> List<D> |
ConfigurableMapper.mapAsList(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> List<D> |
ConfigurableMapper.mapAsList(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> List<D> |
MapperFacadeImpl.mapAsList(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
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) |
<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) |
<Sk,Sv,D> List<D> |
MapperFacadeImpl.mapAsList(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType) |
<Sk,Sv,D> List<D> |
ConfigurableMapper.mapAsList(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType) |
<Sk,Sv,D> List<D> |
ConfigurableMapper.mapAsList(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType) |
<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> |
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) |
<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,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> List<D> |
MapperFacadeImpl.mapAsList(S[] source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> List<D> |
ConfigurableMapper.mapAsList(S[] source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> List<D> |
ConfigurableMapper.mapAsList(S[] source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> List<D> |
MapperFacadeImpl.mapAsList(S[] source,
Type<S> sourceType,
Type<D> destinationType,
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,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) |
<S,Dk,Dv> Map<Dk,Dv> |
MapperFacadeImpl.mapAsMap(Iterable<S> source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType) |
<S,Dk,Dv> Map<Dk,Dv> |
ConfigurableMapper.mapAsMap(Iterable<S> source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType) |
<S,Dk,Dv> Map<Dk,Dv> |
ConfigurableMapper.mapAsMap(Iterable<S> source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType) |
<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> |
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) |
<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> |
MapperFacadeImpl.mapAsMap(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<? extends Map<Dk,Dv>> destinationType) |
<Sk,Sv,Dk,Dv> |
MapperFacadeImpl.mapAsMap(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<? extends Map<Dk,Dv>> destinationType) |
<Sk,Sv,Dk,Dv> |
ConfigurableMapper.mapAsMap(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<? extends Map<Dk,Dv>> destinationType) |
<Sk,Sv,Dk,Dv> |
ConfigurableMapper.mapAsMap(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<? extends Map<Dk,Dv>> destinationType) |
<Sk,Sv,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> |
MapperFacadeImpl.mapAsMap(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<? extends Map<Dk,Dv>> destinationType,
MappingContext context) |
<Sk,Sv,Dk,Dv> |
ConfigurableMapper.mapAsMap(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<? extends Map<Dk,Dv>> destinationType,
MappingContext context) |
<Sk,Sv,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) |
<S,Dk,Dv> Map<Dk,Dv> |
MapperFacadeImpl.mapAsMap(S[] source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType) |
<S,Dk,Dv> Map<Dk,Dv> |
ConfigurableMapper.mapAsMap(S[] source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType) |
<S,Dk,Dv> Map<Dk,Dv> |
ConfigurableMapper.mapAsMap(S[] source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType) |
<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> |
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,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,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> Set<D> |
MapperFacadeImpl.mapAsSet(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> Set<D> |
ConfigurableMapper.mapAsSet(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> Set<D> |
ConfigurableMapper.mapAsSet(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> Set<D> |
MapperFacadeImpl.mapAsSet(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
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) |
<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) |
<Sk,Sv,D> Set<D> |
MapperFacadeImpl.mapAsSet(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType) |
<Sk,Sv,D> Set<D> |
ConfigurableMapper.mapAsSet(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType) |
<Sk,Sv,D> Set<D> |
ConfigurableMapper.mapAsSet(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType) |
<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> |
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) |
<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,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> Set<D> |
MapperFacadeImpl.mapAsSet(S[] source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> Set<D> |
ConfigurableMapper.mapAsSet(S[] source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> Set<D> |
ConfigurableMapper.mapAsSet(S[] source,
Type<S> sourceType,
Type<D> destinationType) |
<S,D> Set<D> |
MapperFacadeImpl.mapAsSet(S[] source,
Type<S> sourceType,
Type<D> destinationType,
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) |
<S,D> Set<D> |
ConfigurableMapper.mapAsSet(S[] source,
Type<S> sourceType,
Type<D> destinationType,
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) |
protected <S,D> void |
DefaultMapperFactory.register(Type<S> sourceType,
Type<D> destinationType,
boolean isAutoGenerated)
Registers that a mapping exists from the specified source type to the
specified destination type
|
protected <S,D> void |
DefaultMapperFactory.register(Type<S> sourceType,
Type<D> destinationType,
boolean isAutoGenerated)
Registers that a mapping exists from the specified source type to the
specified destination type
|
void |
DefaultMapperFactory.registerConcreteType(Type<?> abstractType,
Type<?> concreteType) |
void |
DefaultMapperFactory.registerConcreteType(Type<?> abstractType,
Type<?> concreteType) |
<D> void |
DefaultMapperFactory.registerObjectFactory(ObjectFactory<D> objectFactory,
Type<D> destinationType) |
<D,S> void |
DefaultMapperFactory.registerObjectFactory(ObjectFactory<D> objectFactory,
Type<D> destinationType,
Type<S> sourceType) |
<D,S> void |
DefaultMapperFactory.registerObjectFactory(ObjectFactory<D> objectFactory,
Type<D> destinationType,
Type<S> sourceType) |
protected Type<?> |
DefaultMapperFactory.resolveConcreteType(Type<?> type,
Type<?> originalType) |
protected Type<?> |
DefaultMapperFactory.resolveConcreteType(Type<?> type,
Type<?> originalType) |
void |
GeneratedMapperBase.setAType(Type<?> aType) |
void |
GeneratedMapperBase.setBType(Type<?> bType) |
void |
GeneratedMapperBase.setUsedTypes(Type<Object>[] types) |
void |
GeneratedObjectBase.setUsedTypes(Type<Object>[] types) |
<S,D> boolean |
AggregateFilter.shouldMap(Type<S> sourceType,
String sourceName,
S source,
Type<D> destType,
String destName,
D dest,
MappingContext mappingContext) |
<S,D> boolean |
AggregateFilter.shouldMap(Type<S> sourceType,
String sourceName,
S source,
Type<D> destType,
String destName,
D dest,
MappingContext mappingContext) |
| Constructor and Description |
|---|
MultipleMapperWrapper(Type<Object> typeA,
Type<Object> typeB,
List<Mapper<Object,Object>> mappers) |
MultipleMapperWrapper(Type<Object> typeA,
Type<Object> typeB,
List<Mapper<Object,Object>> mappers) |
| Modifier and Type | Method and Description |
|---|---|
Type<?> |
VariableRef.elementType() |
Type<?> |
VariableRef.elementValueType() |
Type<?> |
VariableRef.mapKeyType() |
Type<?> |
VariableRef.mapValueType() |
Type<Object>[] |
UsedTypesContext.toArray() |
Type<?> |
VariableRef.type() |
| Modifier and Type | Method and Description |
|---|---|
GeneratedObjectFactory |
ObjectFactoryGenerator.build(Type<?> type,
Type<?> sourceType,
MappingContext context) |
GeneratedObjectFactory |
ObjectFactoryGenerator.build(Type<?> type,
Type<?> sourceType,
MappingContext context) |
String |
SourceCodeContext.callMapper(Type<?> sourceType,
Type<?> destinationType,
String sourceExpression) |
String |
SourceCodeContext.callMapper(Type<?> sourceType,
Type<?> destinationType,
String sourceExpression) |
String |
SourceCodeContext.callMapper(Type<?> sourceType,
Type<?> destinationType,
String sourceExpression,
String destExpression) |
String |
SourceCodeContext.callMapper(Type<?> sourceType,
Type<?> destinationType,
String sourceExpression,
String destExpression) |
String |
SourceCodeContext.callMapper(VariableRef source,
Type<?> destination) |
protected static String |
VariableRef.cast(String value,
Type<?> type)
Returns Java code which provides a cast of the specified value to the
type of this property ref
|
protected static String |
VariableRef.cast(VariableRef value,
Type<?> type)
Returns Java code which provides a cast of the specified value to the
type of this property ref
|
String |
SourceCodeContext.compareFields(FieldMap fieldMap,
VariableRef sourceProperty,
VariableRef destinationProperty,
Type<?> destinationType,
StringBuilder logDetails)
Generates source code for an "equality" comparison of two variables,
based on the FieldMap passed
|
int |
UsedTypesContext.getIndex(Type<?> type) |
UsedMapperFacadesContext.UsedMapperFacadesIndex |
UsedMapperFacadesContext.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.
|
UsedMapperFacadesContext.UsedMapperFacadesIndex |
UsedMapperFacadesContext.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.
|
String |
VariableRef.isInstanceOf(Type<?> type) |
protected static boolean |
VariableRef.isPrimitiveLiteral(String expr,
Type<?> type) |
String |
SourceCodeContext.newObject(VariableRef source,
Type<?> destinationType) |
String |
SourceCodeContext.newObjectFromMapper(Type<?> sourceType,
Type<?> destinationType) |
String |
SourceCodeContext.newObjectFromMapper(Type<?> sourceType,
Type<?> destinationType) |
String |
SourceCodeContext.newObjectFromMapper(VariableRef source,
Type<?> destinationType)
Generates a code snippet to generate a new instance of the destination
type from a mapper
|
String |
SourceCodeContext.usedType(Type<?> type) |
| Constructor and Description |
|---|
MapEntryRef(Type<?> type,
String name,
MapEntryRef.EntryPart entryPart) |
MultiOccurrenceVariableRef(Type<?> type,
String name) |
VariableRef(Type<?> type,
String name) |
| Modifier and Type | Field and Description |
|---|---|
protected Type<Object> |
AbstractMappingStrategy.destinationType
The destination type mapped by this strategy
|
protected Type<Object> |
AbstractMappingStrategy.sourceType
The source type mapped by this strategy
|
| Modifier and Type | Method and Description |
|---|---|
Type<Object> |
AbstractMappingStrategy.getAType() |
Type<Object> |
CopyByReferenceStrategy.getAType() |
Type<Object> |
AbstractMappingStrategy.getBType() |
Type<Object> |
CopyByReferenceStrategy.getBType() |
Type<?> |
MappingStrategyRecorder.getResolvedDestinationType() |
Type<?> |
MappingStrategyRecorder.getResolvedSourceType() |
| Modifier and Type | Method and Description |
|---|---|
void |
MappingStrategyRecorder.setResolvedDestinationType(Type<?> resolvedDestinationType)
Set the destination type to be used with the strategy
|
void |
MappingStrategyRecorder.setResolvedSourceType(Type<?> resolvedSourceType)
Sets the source type that should be used with the strategy
|
| Constructor and Description |
|---|
AbstractMappingStrategy(Type<Object> sourceType,
Type<Object> destinationType) |
AbstractMappingStrategy(Type<Object> sourceType,
Type<Object> destinationType) |
InstantiateAndUseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
ObjectFactory<Object> objectFactory,
UnenhanceStrategy unenhancer)
Creates a new instance of InstantiateAndUseCustomMapperStrategy
|
InstantiateAndUseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
ObjectFactory<Object> objectFactory,
UnenhanceStrategy unenhancer)
Creates a new instance of InstantiateAndUseCustomMapperStrategy
|
InstantiateByDefaultAndUseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
UnenhanceStrategy unenhancer)
Creates a new instance of InstantiateByDefaultAndUseCustomMapperStrategy
|
InstantiateByDefaultAndUseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
UnenhanceStrategy unenhancer)
Creates a new instance of InstantiateByDefaultAndUseCustomMapperStrategy
|
MapExistingAndUseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
UnenhanceStrategy unenhancer)
Creates a new instance of MapExistingAndUseCustomMapperStrategy
|
MapExistingAndUseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
UnenhanceStrategy unenhancer)
Creates a new instance of MapExistingAndUseCustomMapperStrategy
|
UseConverterStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Converter<Object,Object> converter,
UnenhanceStrategy unenhancer)
Creates a new instance of UseConverterStrategy
|
UseConverterStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Converter<Object,Object> converter,
UnenhanceStrategy unenhancer)
Creates a new instance of UseConverterStrategy
|
UseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
UnenhanceStrategy unenhancer)
Creates a new instance of UseCustomMapperStrategy
|
UseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
UnenhanceStrategy unenhancer)
Creates a new instance of UseCustomMapperStrategy
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Type<T> |
SuperTypeResolver.getSuperType(Type<?> enhancedClass,
SuperTypeResolverStrategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultSuperTypeResolverStrategy.accept(Type<?> type) |
boolean |
SuperTypeResolverStrategy.accept(Type<?> type) |
static <T> Type<T> |
SuperTypeResolver.getSuperType(Type<?> enhancedClass,
SuperTypeResolverStrategy strategy) |
abstract boolean |
DefaultSuperTypeResolverStrategy.isAcceptable(Type<?> type) |
boolean |
DefaultSuperTypeResolverStrategy.shouldLookupSuperType(Type<?> type) |
boolean |
SuperTypeResolverStrategy.shouldLookupSuperType(Type<?> type) |
| Modifier and Type | Field and Description |
|---|---|
static Type<Object> |
TypeFactory.TYPE_OF_OBJECT
The Type instance which represents the Object class
|
| Modifier and Type | Method and Description |
|---|---|
Type<T> |
TypeBuilder.build() |
Type<?> |
Type.findAncestor(Class<?> ancestor)
Finds a class or interface which is an ancestor of this type
|
Type<?> |
Type.findInterface(Type<?> theInterface) |
Type<Object> |
MapperKey.getAType() |
Type<A> |
ClassMap.getAType() |
Type<A> |
ClassMapBuilder.getAType() |
Type<Object> |
FieldMap.getAType() |
Type<Object> |
MapperKey.getBType() |
Type<B> |
ClassMap.getBType() |
Type<B> |
ClassMapBuilder.getBType() |
Type<Object> |
FieldMap.getBType() |
Type<?> |
Type.getComponentType() |
Type<?> |
Property.getElementType() |
Type<?>[] |
Type.getInterfaces() |
<X> Type<X> |
Type.getNestedType(int index)
Get the nested Type of the specified index.
|
Type<?> |
Type.getPrimitiveType() |
Type<?> |
Type.getSuperType() |
Type<?> |
Property.getType() |
Type<?> |
Type.getWrapperType() |
static <T> Type<T> |
TypeFactory.resolveValueOf(Class<T> type,
Type<?> referenceType)
Resolve the Type for the given Class, using the provided referenceType to
resolve the actual type arguments.
|
static <T> Type<T> |
TypeFactory.resolveValueOf(ParameterizedType type,
Type<?> referenceType)
Resolve the Type for the given ParameterizedType, using the provided
referenceType to resolve any unresolved actual type arguments.
|
static <E> Type<E> |
TypeFactory.valueOf(Class<E> rawType)
Resolves the Type value of the specified raw Class type
|
static <E> Type<E> |
TypeFactory.valueOf(Class<E> rawType,
Type... actualTypeArguments)
Resolve the Type value of the given raw Class type, filling the type
parameters with the provided actual type arguments
|
static <T> Type<T> |
TypeFactory.valueOf(ParameterizedType type)
Return the Type for the given ParameterizedType, resolving actual type
arguments where possible.
|
static Type<?> |
TypeFactory.valueOf(String typeDescriptor)
Constructs a nested type from a string description of that type; allows for package names
to be omitted for 'java.lang' and 'java.util' classes.
|
static <T> Type<T> |
TypeFactory.valueOf(Type type)
Return the Type for the given java.lang.reflect.Type, either for a
ParameterizedType or a Class instance
|
static <T> Type<T> |
TypeFactory.valueOf(Type<T> type)
This method declaration helps to shortcut the other methods for
ParameterizedType which it extends; we just return it.
|
static <T> Type<T> |
TypeFactory.valueOf(TypeVariable<?> var)
Finds the Type value of the given TypeVariable
|
static <T> Type<T> |
TypeFactory.valueOf(WildcardType var)
Finds the Type value of the given wildcard type
|
| Modifier and Type | Method and Description |
|---|---|
FieldMapBuilder<A,B> |
FieldMapBuilder.aElementType(Type<?> elementType)
Specify element type for A side property
When dealing with legacy code, prior to Java 1.5 you can add element type of collections, this is not required when using generics |
protected <A,B> boolean |
ClassMapBuilderForMaps.Factory.appliesTo(Type<A> aType,
Type<B> bType) |
protected <A,B> boolean |
ClassMapBuilderForMaps.Factory.appliesTo(Type<A> aType,
Type<B> bType) |
protected <A,B> boolean |
ClassMapBuilderFactory.appliesTo(Type<A> aType,
Type<B> bType)
Return true if this implementation of factory is suitable for received types
|
protected <A,B> boolean |
ClassMapBuilderFactory.appliesTo(Type<A> aType,
Type<B> bType)
Return true if this implementation of factory is suitable for received types
|
protected <A,B> boolean |
ClassMapBuilderForArrays.Factory.appliesTo(Type<A> aType,
Type<B> bType) |
protected <A,B> boolean |
ClassMapBuilderForArrays.Factory.appliesTo(Type<A> aType,
Type<B> bType) |
protected <A,B> boolean |
ClassMapBuilderForLists.Factory.appliesTo(Type<A> aType,
Type<B> bType) |
protected <A,B> boolean |
ClassMapBuilderForLists.Factory.appliesTo(Type<A> aType,
Type<B> bType) |
FieldMapBuilder<A,B> |
FieldMapBuilder.bElementType(Type<?> elementType)
Specify element type for B side property
When dealing with legacy code, prior to Java 1.5 you can add element type of collections, this is not required when using generics |
<A,B> ClassMapBuilderFactory |
ClassMapBuilderFactory.chooseClassMapBuilderFactory(Type<A> aType,
Type<B> bType)
Choose suitable ClassMapBuilderFactory for types from factories chain
|
<A,B> ClassMapBuilderFactory |
ClassMapBuilderFactory.chooseClassMapBuilderFactory(Type<A> aType,
Type<B> bType)
Choose suitable ClassMapBuilderFactory for types from factories chain
|
int |
Type.compareTo(Type<?> other) |
Property |
Property.copy(Type<?> newType) |
Property.Builder |
Property.Builder.elementType(Type<?> elementType)
Set the element type
|
Type<?> |
Type.findInterface(Type<?> theInterface) |
protected Map<String,Property> |
ClassMapBuilder.getPropertyExpressions(Type<?> type)
Gets all of the property expressions for a given type, including all
nested properties.
|
boolean |
Type.isAssignableFrom(Type<?> other)
Test whether this type is assignable from the other type.
|
boolean |
Type.isPrimitiveFor(Type<?> wrapper) |
protected boolean |
ClassMapBuilderForMaps.isSpecialCaseType(Type<?> type)
Test whether the provided type is the special case type for this Builder
(as in, not the standard Java Bean type)
|
protected boolean |
ClassMapBuilderForArrays.isSpecialCaseType(Type<?> type) |
protected boolean |
ClassMapBuilderForLists.isSpecialCaseType(Type<?> type) |
boolean |
Type.isWrapperFor(Type<?> primitive) |
<A,B> ClassMapBuilder<A,B> |
ClassMapBuilderFactory.map(Class<A> aType,
Type<B> bType)
Begin a new mapping for the specified class and type.
|
static <A,B> ClassMapBuilder<A,B> |
ClassMapBuilder.map(Class<A> aType,
Type<B> bType)
Deprecated.
use
MapperFactory.classMap(Class, Type)
instead |
<A,B> ClassMapBuilder<A,B> |
ClassMapBuilderFactory.map(Type<A> aType,
Class<B> bType)
Begin a new mapping for the specified type and class.
|
static <A,B> ClassMapBuilder<A,B> |
ClassMapBuilder.map(Type<A> aType,
Class<B> bType)
Deprecated.
use
MapperFactory.classMap(Type, Class)
instead |
<A,B> ClassMapBuilder<A,B> |
ClassMapBuilderFactory.map(Type<A> aType,
Type<B> bType)
Begin a new mapping for the specified types.
|
<A,B> ClassMapBuilder<A,B> |
ClassMapBuilderFactory.map(Type<A> aType,
Type<B> bType)
Begin a new mapping for the specified types.
|
static <A,B> ClassMapBuilder<A,B> |
ClassMapBuilder.map(Type<A> aType,
Type<B> bType)
Deprecated.
use
MapperFactory.classMap(Type, Type)
instead |
static <A,B> ClassMapBuilder<A,B> |
ClassMapBuilder.map(Type<A> aType,
Type<B> bType)
Deprecated.
use
MapperFactory.classMap(Type, Type)
instead |
static FieldMap |
FieldMapBuilder.mapKeys(Type<?> aType,
Type<?> bType)
Creates a FieldMap for the Map keys from A to B
|
static FieldMap |
FieldMapBuilder.mapKeys(Type<?> aType,
Type<?> bType)
Creates a FieldMap for the Map keys from A to B
|
static FieldMap |
FieldMapBuilder.mapValues(Type<?> aType,
Type<?> bType)
Creates a FieldMap for the Map values from A to B
|
static FieldMap |
FieldMapBuilder.mapValues(Type<?> aType,
Type<?> bType)
Creates a FieldMap for the Map values from A to B
|
protected <A,B> ClassMapBuilder<A,B> |
ClassMapBuilderForMaps.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
ClassMapBuilderForMaps.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected abstract <A,B> ClassMapBuilder<A,B> |
ClassMapBuilderFactory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults)
Generates a new ClassMapBuilder instance
|
protected abstract <A,B> ClassMapBuilder<A,B> |
ClassMapBuilderFactory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults)
Generates a new ClassMapBuilder instance
|
protected <A,B> ClassMapBuilder<A,B> |
ClassMapBuilder.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
ClassMapBuilder.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
ClassMapBuilderForArrays.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
ClassMapBuilderForArrays.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
ScoringClassMapBuilder.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
ScoringClassMapBuilder.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
CaseInsensitiveClassMapBuilder.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
CaseInsensitiveClassMapBuilder.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
ClassMapBuilderForLists.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
ClassMapBuilderForLists.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected Property.Builder |
Property.Builder.owningType(Type<?> owningType)
Sets the owning type
|
static Property.Builder |
Property.Builder.propertyFor(Type<?> owningType,
String name)
Creates a new property builder for the specified owningType and name
|
protected Property |
ClassMapBuilderForMaps.resolveCustomProperty(String expr,
Type<?> propertyType)
Resolves a custom property for this builder using the provided expression
|
protected Property |
ClassMapBuilderForArrays.resolveCustomProperty(String expr,
Type<?> propertyType) |
protected Property |
ClassMapBuilderForLists.resolveCustomProperty(String expr,
Type<?> propertyType) |
static <T> Type<T> |
TypeFactory.resolveValueOf(Class<T> type,
Type<?> referenceType)
Resolve the Type for the given Class, using the provided referenceType to
resolve the actual type arguments.
|
static <T> Type<T> |
TypeFactory.resolveValueOf(ParameterizedType type,
Type<?> referenceType)
Resolve the Type for the given ParameterizedType, using the provided
referenceType to resolve any unresolved actual type arguments.
|
<X,Y> ClassMapBuilder<A,B> |
ClassMapBuilder.use(Type<?> aParentType,
Type<?> bParentType)
Configure this ClassMapBuilder to use an existing mapping (for parent
classes) defined from
aParentClass to
bParentClass. |
<X,Y> ClassMapBuilder<A,B> |
ClassMapBuilder.use(Type<?> aParentType,
Type<?> bParentType)
Configure this ClassMapBuilder to use an existing mapping (for parent
classes) defined from
aParentClass to
bParentClass. |
static <T> Type<T> |
TypeFactory.valueOf(Type<T> type)
This method declaration helps to shortcut the other methods for
ParameterizedType which it extends; we just return it.
|
| Constructor and Description |
|---|
ArrayElementProperty(int index,
Type<?> propertyType,
Property container) |
Builder(Type<?> owningType,
String name)
Creates a new Property.Builder for the specified owning type and
property name
|
CaseInsensitiveClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
CaseInsensitiveClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
ClassMap(Type<A> aType,
Type<B> bType,
Set<FieldMap> fieldsMapping,
Mapper<A,B> customizedMapper,
Set<MapperKey> usedMappers,
String[] constructorA,
String[] constructorB,
Boolean sourcesMappedOnNull,
Boolean destinationsMappedOnNull,
Boolean favorsExtension)
Constructs a new ClassMap
|
ClassMap(Type<A> aType,
Type<B> bType,
Set<FieldMap> fieldsMapping,
Mapper<A,B> customizedMapper,
Set<MapperKey> usedMappers,
String[] constructorA,
String[] constructorB,
Boolean sourcesMappedOnNull,
Boolean destinationsMappedOnNull,
Boolean favorsExtension)
Constructs a new ClassMap
|
ClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
ClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
ClassMapBuilderForArrays(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
ClassMapBuilderForArrays(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
ClassMapBuilderForLists(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
ClassMapBuilderForLists(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
ClassMapBuilderForMaps(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
ClassMapBuilderForMaps(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
ConstructorParameter(String name,
Type<?> type,
Map<Constructor<?>,Integer> constructors) |
ListElementProperty(int index,
Type<?> propertyType,
Property owner) |
MapKeyProperty(String key,
Type<?> keyType,
Type<?> valueType,
Property owner) |
MapKeyProperty(String key,
Type<?> keyType,
Type<?> valueType,
Property owner) |
MapperKey(Type<?> aType,
Type<?> bType)
Constructs a new MapperKey instance
|
MapperKey(Type<?> aType,
Type<?> bType)
Constructs a new MapperKey instance
|
Property(String expression,
String name,
String getter,
String setter,
Type<?> type,
Type<?> elementType,
Property container)
Constructs a new Property instance
|
Property(String expression,
String name,
String getter,
String setter,
Type<?> type,
Type<?> elementType,
Property container)
Constructs a new Property instance
|
ScoringClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults,
ScoringClassMapBuilder.PropertyMatchingWeights matchingWeights)
Constructs a new instance of ScoringClassMapBuilder, using the provided PropertyMatchingWeights
to adjust the overall scoring of how properties are matched.
|
ScoringClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults,
ScoringClassMapBuilder.PropertyMatchingWeights matchingWeights)
Constructs a new instance of ScoringClassMapBuilder, using the provided PropertyMatchingWeights
to adjust the overall scoring of how properties are matched.
|
TypeBuilder(Type<?>... types)
Construct a new TypeBuilder instance, filling the actual type arguments from the provided
types.
|
| Modifier and Type | Method and Description |
|---|---|
Type<?> |
PropertyResolver.resolvePropertyType(Method readMethod,
Class<?> rawType,
Class<?> owningType,
Type<?> referenceType)
Resolves the type of a property from the provided input factors.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
IntrospectorPropertyResolver.collectProperties(Class<?> type,
Type<?> referenceType,
Map<String,Property> properties)
Collects all properties for the specified type.
|
protected abstract void |
PropertyResolver.collectProperties(Class<?> type,
Type<?> referenceType,
Map<String,Property> properties)
Collects all properties for the specified type.
|
protected void |
RegexPropertyResolver.collectProperties(Class<?> type,
Type<?> referenceType,
Map<String,Property> properties)
Collects all properties for the specified type.
|
protected void |
PropertyResolver.collectPublicFieldProperties(Type<?> referenceType,
Map<String,Property> properties)
Add public non-static fields as properties
|
protected Property |
PropertyResolver.processProperty(String propertyName,
Class<?> propertyType,
Method readMethod,
Method writeMethod,
Class<?> owningType,
Type<?> referenceType,
Map<String,Property> properties)
Processes a property, adding it to the map of properties for the owning
type being processed
|
Type<?> |
PropertyResolver.resolvePropertyType(Method readMethod,
Class<?> rawType,
Class<?> owningType,
Type<?> referenceType)
Resolves the type of a property from the provided input factors.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Type<T> |
HibernateUnenhanceStrategy.unenhanceType(T object,
Type<T> type) |
<T> Type<T> |
UnenhanceStrategy.unenhanceType(T object,
Type<T> type)
Should return the unenhanced type to be used when determining attribute
mapping information for the type.
|
<T> Type<T> |
BaseUnenhancer.unenhanceType(T object,
Type<T> type) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
HibernateUnenhanceStrategy.unenhanceObject(T object,
Type<T> type) |
<T> T |
UnenhanceStrategy.unenhanceObject(T object,
Type<T> type) |
<T> T |
BaseUnenhancer.unenhanceObject(T object,
Type<T> type) |
<T> Type<T> |
HibernateUnenhanceStrategy.unenhanceType(T object,
Type<T> type) |
<T> Type<T> |
UnenhanceStrategy.unenhanceType(T object,
Type<T> type)
Should return the unenhanced type to be used when determining attribute
mapping information for the type.
|
<T> Type<T> |
BaseUnenhancer.unenhanceType(T object,
Type<T> type) |
Copyright © 2017 Glasnost. All Rights Reserved.