public class LifecycleCallbackMethodReference extends MappingMethod
@BeforeMapping
or @AfterMapping
.Writable.Context
Constructor and Description |
---|
LifecycleCallbackMethodReference(SourceMethod method,
List<Parameter> parameterAssignments) |
Modifier and Type | Method and Description |
---|---|
Type |
getDeclaringType() |
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
String |
getInstanceVariableName() |
List<Parameter> |
getParameterAssignments() |
boolean |
hasMappingTargetParameter() |
getAccessibility, getAfterMappingReferences, getBeforeMappingReferencesWithMappingTarget, getBeforeMappingReferencesWithoutMappingTarget, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, isStatic, toString
write
getTemplateName, getTemplateNameForClass
public LifecycleCallbackMethodReference(SourceMethod method, List<Parameter> parameterAssignments)
public Type getDeclaringType()
public String getInstanceVariableName()
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in class MappingMethod
null
.public boolean hasMappingTargetParameter()
Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.