
Writable.Context| Constructor and Description |
|---|
SupportingField(SupportingMappingMethod definingMethod,
BuiltInFieldReference fieldReference,
String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addAllFieldsIn(Set<SupportingMappingMethod> supportingMappingMethods,
Set<Field> targets) |
boolean |
equals(Object obj) |
SupportingMappingMethod |
getDefiningMethod() |
String |
getTemplateName()
Returns the name of the template to be used for a specific writable type.
|
int |
hashCode() |
getFieldNames, getImportTypes, getType, getVariableName, isTypeRequiresImport, isUsed, setTypeRequiresImport, setUsedgetTemplateNameForClass, writepublic SupportingField(SupportingMappingMethod definingMethod, BuiltInFieldReference fieldReference, String name)
public String getTemplateName()
FreeMarkerWritableFreeMarkerWritable.getTemplateNameForClass(Class) is called with getClass(), but this can be customized by
overriding this method if required.getTemplateName in class FreeMarkerWritablenull.public SupportingMappingMethod getDefiningMethod()
public static void addAllFieldsIn(Set<SupportingMappingMethod> supportingMappingMethods, Set<Field> targets)
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.