public class UpdateWrapper extends AssignmentWrapper
Assignment.AssignmentType
Writable.Context
fieldAssignment
Constructor and Description |
---|
UpdateWrapper(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
Assignment factoryMethod,
boolean fieldAssignment,
Type targetType,
boolean includeSourceNullCheck,
boolean mapNullToDefault) |
Modifier and Type | Method and Description |
---|---|
Assignment |
getFactoryMethod() |
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
List<Type> |
getThrownTypes()
returns all types exception types thrown by this assignment.
|
boolean |
isIncludeSourceNullCheck() |
boolean |
isMapNullToDefault() |
createLocalVarName, getAssignment, getSourceLocalVarName, getSourceParameterName, getSourcePresenceCheckerReference, getSourceReference, getSourceType, getType, isCallingUpdateMethod, isFieldAssignment, isSourceReferenceParameter, setAssignment, setSourceLocalVarName
getTemplateName, getTemplateNameForClass, write
public UpdateWrapper(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Assignment factoryMethod, boolean fieldAssignment, Type targetType, boolean includeSourceNullCheck, boolean mapNullToDefault)
public List<Type> getThrownTypes()
Assignment
getThrownTypes
in interface Assignment
getThrownTypes
in class AssignmentWrapper
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in interface Assignment
getImportTypes
in class AssignmentWrapper
null
.public Assignment getFactoryMethod()
public boolean isIncludeSourceNullCheck()
public boolean isMapNullToDefault()
Copyright © 2012-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.