T - The type whose properties are to be re-mapped.@FunctionalInterface public interface ReMapping<T>
Map.| Modifier and Type | Interface and Description |
|---|---|
static class |
ReMapping.Builder<T>
Defines a builder for the declarative creation of a
ReMapping. |
| Modifier and Type | Method and Description |
|---|---|
static <T,V> ReMapping.Builder<T> |
add(String name,
BiConsumer<T,V> setter)
Creates a new
ReMapping.Builder and adds a link between name and setter method, which represents a
property of the associated type. |
TargetOperation<T> |
remap(Map<?,?> origin)
Results in a
TargetOperation for a given origin Map,
which can map its entries as properties into an instance of the associated type. |
static <T,V> ReMapping.Builder<T> add(String name, BiConsumer<T,V> setter)
ReMapping.Builder and adds a link between name and setter method, which represents a
property of the associated type.T - The type whose properties are to be re-mapped.TargetOperation<T> remap(Map<?,?> origin)
TargetOperation for a given origin Map,
which can map its entries as properties into an instance of the associated type.Copyright © 2021 Andreas Kluge-Kaindl, Bremen (de). All rights reserved.