public class

TopLevelClass

extends InnerClass
implements CompilationUnit
java.lang.Object
   ↳ org.mybatis.generator.api.dom.java.JavaElement
     ↳ org.mybatis.generator.api.dom.java.InnerClass
       ↳ org.mybatis.generator.api.dom.java.TopLevelClass

Summary

Public Constructors
TopLevelClass(String typeName)
TopLevelClass(FullyQualifiedJavaType type)
Public Methods
void addFileCommentLine(String commentLine)
Comments will be written at the top of the file as is, we do not append any start or end comment characters.
void addImportedType(String importedType)
void addImportedType(FullyQualifiedJavaType importedType)
void addImportedTypes(Set<FullyQualifiedJavaType> importedTypes)
void addStaticImport(String staticImport)
void addStaticImports(Set<String> staticImports)
List<String> getFileCommentLines()
String getFormattedContent()
Set<FullyQualifiedJavaType> getImportedTypes()
Set<String> getStaticImports()
boolean isJavaEnumeration()
boolean isJavaInterface()
[Expand]
Inherited Methods
From class org.mybatis.generator.api.dom.java.InnerClass
From class org.mybatis.generator.api.dom.java.JavaElement
From class java.lang.Object
From interface org.mybatis.generator.api.dom.java.CompilationUnit

Public Constructors

public TopLevelClass (String typeName)

public TopLevelClass (FullyQualifiedJavaType type)

Public Methods

public void addFileCommentLine (String commentLine)

Comments will be written at the top of the file as is, we do not append any start or end comment characters. Note that in the Eclipse plugin, file comments will not be merged.

public void addImportedType (String importedType)

public void addImportedType (FullyQualifiedJavaType importedType)

public void addImportedTypes (Set<FullyQualifiedJavaType> importedTypes)

public void addStaticImport (String staticImport)

public void addStaticImports (Set<String> staticImports)

public List<String> getFileCommentLines ()

public String getFormattedContent ()

public Set<FullyQualifiedJavaType> getImportedTypes ()

Returns
  • Returns the importedTypes.

public Set<String> getStaticImports ()

public boolean isJavaEnumeration ()

public boolean isJavaInterface ()