Package | Description |
---|---|
org.modelmapper |
ModelMapper is an intelligent object mapping library.
|
org.modelmapper.builder |
Expression types for building Mappings and TypeMaps
|
Modifier and Type | Method and Description |
---|---|
<V> TypeMap<S,D> |
TypeMap.addMapping(SourceGetter<S> sourceGetter,
DestinationSetter<D,V> destinationSetter)
Adds a mapping into
TypeMap by defining sourceGetter -> destinationSetter |
Modifier and Type | Method and Description |
---|---|
<V> void |
ReferenceMapExpression.map(SourceGetter<S> sourceGetter,
DestinationSetter<D,V> destinationSetter)
Map source getter value to destination setter
|
<V> void |
ReferenceMapExpression.skip(DestinationSetter<D,V> destinationSetter)
Skip destination property based on
destinationSetter |
<V> void |
ReferenceMapExpression.skip(SourceGetter<S> sourceGetter,
DestinationSetter<D,V> destinationSetter)
Skip the mapping from the source property of
sourceGetter to the destination property
of destinationSetter |
Copyright © 2011–2024. All rights reserved.