public class GetterWrapperForCollectionsAndMaps extends WrapperForCollectionsAndMaps
MappingTargetbefore adding the source entries. The goal is that the same collection / map
is used as target.
Nothing can be added if the getter on the target returns null.Assignment.AssignmentTypeWritable.Context| Constructor and Description |
|---|
GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
Set<String> existingVariableNames,
Type targetType)
constructor for e.g. constants and expressions
|
GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
String sourcePresenceChecker,
Set<String> existingVariableNames,
Type targetType)
constructor for property mapping
|
getImportTypes, getLocalVarName, getLocalVarType, getSourcePresenceChecker, getThrownTypesgetAssignment, getSourceLocalVarName, getSourceReference, getSourceType, getType, isUpdateMethod, setAssignment, setSourceLocalVarNamewritegetTemplateName, getTemplateNameForClasspublic GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, String sourcePresenceChecker, Set<String> existingVariableNames, Type targetType)
decoratedAssignment - thrownTypesToExclude - sourcePresenceChecker - existingVariableNames - targetType - public GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Set<String> existingVariableNames, Type targetType)
decoratedAssignment - thrownTypesToExclude - existingVariableNames - targetType - Copyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.