public class Decorator extends GeneratedType
| Modifier and Type | Class and Description |
|---|---|
static class |
Decorator.Builder |
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, addWithDependents, getAccessibility, getAnnotations, getConstructor, getFields, getInterfaceName, getMethods, getName, getPackageName, getSuperClassName, getVersionInformation, isSuppressGeneratorTimestamp, isSuppressGeneratorVersionCommentwritepublic 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()
FreeMarkerWritable*.ftl is used as template file name,
but this can be customized by overriding this method if required.getTemplateName in class FreeMarkerWritablenull.Copyright © 2012-2015. All Rights Reserved.