null
. Returns
17 | * immediately otherwise.
18 | */
19 | static null
-value from "mapping has no result".
9 | */
10 | SKIP,
11 | /**
12 | * Signals that the value should be used as mapping result. If value ist null
, null
should
13 | * be used as mapping result value.
14 | */
15 | VALUE;
16 | }
17 |
--------------------------------------------------------------------------------
/src/main/java/com/remondis/remap/SetSupplierTransformation.java:
--------------------------------------------------------------------------------
1 | package com.remondis.remap;
2 |
3 | import java.beans.PropertyDescriptor;
4 | import java.util.function.Supplier;
5 |
6 | /**
7 | * A set transformation set a value supplied by a custom function to a destination field.
8 | *
9 | * @param null
input.
8 | *
9 | * @param true
if this transformation should be skipped when the input value is
23 | * null
, otherwise false
is returned.
24 | */
25 | abstract boolean isSkipWhenNull();
26 |
27 | abstract Function The property type.
9 | *
10 | */
11 | public class BiPropertyVisitor