public abstract class ModelElement extends FreeMarkerWritable
Writable contract to write model elements into source code
 files.Writable.Context| Constructor and Description | 
|---|
| ModelElement() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Set<Type> | getImportTypes()Returns a set containing those  Types referenced by this model element for which an import statement needs
 to be declared. | 
| void | write(Writable.Context context,
     Writer writer)Writes this element to the given writer. | 
getTemplateName, getTemplateNameForClasspublic void write(Writable.Context context, Writer writer) throws Exception
Writablewrite in interface Writablewrite in class FreeMarkerWritablecontext - Provides additional data specific to the used implementation of the serialization mechanism.writer - The writer to write this element to. Must not be closed by implementations.Exception - in case of an errorCopyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.