SimpleEntityand our destination class
descriptionfields of the
SimpleEntityDisplayclass, but not the
ShapeShiftwe use the
ShapeShiftBuilderand register our mapper:
SimpleEntityinstance to the
..operator. Let's look at the following example:
Childclass inside the
Fromclass to the
childValuefield in the
Toclass. We will create a mapper with the
..operator is supported in both source and destination fields, it also supports multi level depth.
withTransformerfunction has 2 options to use transformers. Let's look at the following classes.
commaDelimitedStringfield to the
stringListfield and change the field type from
List<String>while doing so. To accomplish that we will use a transformer.
namefield only if it's not null or blank. The
withConditionfunction has 2 options to add conditions.
lastNamefields to the
fullNamefield in addition to mapping them to their respectable fields.
overrideStrategyfunction allows you to override the default mapping strategy configured on the