Package | Description |
---|---|
org.modelmapper |
ModelMapper is an intelligent object mapping library.
|
org.modelmapper.builder |
Expression types for building Mappings and TypeMaps
|
org.modelmapper.config |
Configuration types
|
org.modelmapper.spi |
Service Provider Interface
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractProvider<T>
Provider support class.
|
Modifier and Type | Method and Description |
---|---|
Provider<?> |
TypeMap.getPropertyProvider()
Returns the Provider configured for this TypeMap, else
null if no Provider has been
configured. |
Provider<D> |
TypeMap.getProvider()
Returns the Provider configured for this TypeMap, else
null if no Provider has been
configured. |
Modifier and Type | Method and Description |
---|---|
TypeMap<S,D> |
TypeMap.setPropertyProvider(Provider<?> provider)
Sets the
provider to be used for providing instances of properties during mapping. |
TypeMap<S,D> |
TypeMap.setProvider(Provider<D> provider)
Sets the
provider to be used for providing instances of destination type D
during mapping. |
protected ConverterExpression<S,D> |
PropertyMap.with(Provider<?> provider)
Specifies a provider to be used for providing instances of the mapped property.
|
Modifier and Type | Method and Description |
---|---|
ConfigurableConverterExpression<S,D> |
ConfigurableProviderExpression.with(Provider<?> provider)
Uses
provider to instantiate an instance for destination property |
ConverterExpression<S,D> |
ProviderExpression.with(Provider<?> provider)
Specifies the
provider to be used for providing instances of the mapped property. |
Modifier and Type | Method and Description |
---|---|
Provider<?> |
Configuration.getProvider()
Returns the Provider used for provisioning destination object instances, else
null if
no Provider has been configured. |
Modifier and Type | Method and Description |
---|---|
Configuration |
Configuration.setProvider(Provider<?> provider)
Sets the
provider to use for providing destination object instances. |
Modifier and Type | Method and Description |
---|---|
Provider<?> |
Mapping.getProvider()
Gets the Provider to use for providing instances of the first destination type.
|
Copyright © 2011–2024. All rights reserved.