#945 changes s.getLongProp() to s.getLongProperty()

In the mapping no source name is specified for this property, so the
        name longProperty is used
This commit is contained in:
Dominik Gruntz 2016-11-01 17:24:41 +01:00 committed by Gunnar Morling
parent 81b4535aad
commit 422821f3cf

View File

@ -1493,7 +1493,7 @@ public interface SourceTargetMapper {
----
====
If `s.getStringProp() == null`, then the target property `stringProperty` will be set to `"undefined"` instead of applying the value from `s.getStringProp()`. If `s.getLongProp() == null`, then the target property `longProperty` will be set to `-1`.
If `s.getStringProp() == null`, then the target property `stringProperty` will be set to `"undefined"` instead of applying the value from `s.getStringProp()`. If `s.getLongProperty() == null`, then the target property `longProperty` will be set to `-1`.
The String `"Constant Value"` is set as is to the target property `stringConstant`. The value `"3001"` is type-converted to the `Long` (wrapper) class of target property `longWrapperConstant`. Date properties also require a date format. The constant `"jack-jill-tom"` demonstrates how the hand-written class `StringListMapper` is invoked to map the dash-separated list into a `List<String>`.
[[expressions]]