
public class UpdateWrapper extends AssignmentWrapper
Assignment.AssignmentTypeWritable.ContextfieldAssignment| Constructor and Description |
|---|
UpdateWrapper(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
Assignment factoryMethod,
boolean fieldAssignment,
Type targetType,
boolean includeSourceNullCheck,
boolean setExplicitlyToNull,
boolean setExplicitlyToDefault) |
| Modifier and Type | Method and Description |
|---|---|
Assignment |
getFactoryMethod() |
Set<Type> |
getImportTypes()
Returns a set containing those
Types 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 |
isSetExplicitlyToDefault() |
boolean |
isSetExplicitlyToNull() |
createUniqueVarName, getAssignment, getSourceLocalVarName, getSourceLoopVarName, getSourceParameterName, getSourcePresenceCheckerReference, getSourceReference, getSourceType, getType, isCallingUpdateMethod, isFieldAssignment, isSourceReferenceParameter, setAssignment, setSourceLocalVarName, setSourceLoopVarNamegetTemplateName, getTemplateNameForClass, writepublic UpdateWrapper(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Assignment factoryMethod, boolean fieldAssignment, Type targetType, boolean includeSourceNullCheck, boolean setExplicitlyToNull, boolean setExplicitlyToDefault)
public List<Type> getThrownTypes()
AssignmentgetThrownTypes in interface AssignmentgetThrownTypes in class AssignmentWrapperpublic Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in interface AssignmentgetImportTypes in class AssignmentWrappernull.public Assignment getFactoryMethod()
public boolean isIncludeSourceNullCheck()
public boolean isSetExplicitlyToNull()
public boolean isSetExplicitlyToDefault()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.