
public class Decorator extends GeneratedType
| Modifier and Type | Class and Description |
|---|---|
static class |
Decorator.Builder |
GeneratedType.GeneratedTypeBuilder<T extends GeneratedType.GeneratedTypeBuilder>Writable.Context| Modifier and Type | Method and Description |
|---|---|
SortedSet<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model element for which an import statement needs
to be declared. |
protected String |
getTemplateName()
Returns the name of the template to be used for a specific writable type.
|
addAnnotation, addIfImportRequired, getAccessibility, getAnnotations, getConstructor, getFields, getImportTypeNames, getInterfaceName, getInterfacePackage, getMethods, getName, getPackageName, getSuperClassName, getVersionInformation, hasPackageName, isGeneratedTypeAvailable, isSuppressGeneratorTimestamp, isSuppressGeneratorVersionComment, removeConstructor, setConstructor, setFieldsgetTemplateNameForClass, writepublic SortedSet<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class GeneratedTypenull.protected String getTemplateName()
FreeMarkerWritableFreeMarkerWritable.getTemplateNameForClass(Class) is called with getClass(), but this can be customized by
overriding this method if required.getTemplateName in class FreeMarkerWritablenull.Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.