public abstract class GeneratedType extends ModelElement
Writable.Context| Modifier | Constructor and Description |
|---|---|
protected |
GeneratedType(TypeFactory typeFactory,
String packageName,
String name,
String superClassName,
String interfaceName,
List<MappingMethod> methods,
List<? extends Field> fields,
Options options,
VersionInformation versionInformation,
Accessibility accessibility,
SortedSet<Type> extraImportedTypes,
Constructor constructor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotation(Annotation annotation) |
protected void |
addWithDependents(Collection<Type> collection,
Type typeToAdd) |
Accessibility |
getAccessibility() |
List<Annotation> |
getAnnotations() |
Constructor |
getConstructor() |
List<? extends ModelElement> |
getFields() |
SortedSet<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model element for which an import statement needs
to be declared. |
String |
getInterfaceName() |
List<MappingMethod> |
getMethods() |
String |
getName() |
String |
getPackageName() |
String |
getSuperClassName() |
VersionInformation |
getVersionInformation() |
boolean |
isSuppressGeneratorTimestamp() |
boolean |
isSuppressGeneratorVersionComment() |
writegetTemplateNameprotected GeneratedType(TypeFactory typeFactory, String packageName, String name, String superClassName, String interfaceName, List<MappingMethod> methods, List<? extends Field> fields, Options options, VersionInformation versionInformation, Accessibility accessibility, SortedSet<Type> extraImportedTypes, Constructor constructor)
public String getPackageName()
public String getName()
public String getSuperClassName()
public String getInterfaceName()
public List<Annotation> getAnnotations()
public void addAnnotation(Annotation annotation)
public List<MappingMethod> getMethods()
public List<? extends ModelElement> getFields()
public boolean isSuppressGeneratorTimestamp()
public boolean isSuppressGeneratorVersionComment()
public VersionInformation getVersionInformation()
public Accessibility getAccessibility()
public SortedSet<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class ModelElementnull.public Constructor getConstructor()
protected void addWithDependents(Collection<Type> collection, Type typeToAdd)
Copyright © 2012-2015. All Rights Reserved.