public class

Interface

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

Summary

Public Constructors
Interface(String type)
Interface(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(FullyQualifiedJavaType importedType)
void addImportedTypes(Set<FullyQualifiedJavaType> importedTypes)
void addMethod(Method method)
void addStaticImport(String staticImport)
void addStaticImports(Set<String> staticImports)
void addSuperInterface(FullyQualifiedJavaType superInterface)
List<String> getFileCommentLines()
String getFormattedContent()
Set<FullyQualifiedJavaType> getImportedTypes()
List<Method> getMethods()
Set<String> getStaticImports()
FullyQualifiedJavaType getSuperClass()
Set<FullyQualifiedJavaType> getSuperInterfaceTypes()
FullyQualifiedJavaType getType()
boolean isJavaEnumeration()
boolean isJavaInterface()
[Expand]
Inherited Methods
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 Interface (String type)

public Interface (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 (FullyQualifiedJavaType importedType)

public void addImportedTypes (Set<FullyQualifiedJavaType> importedTypes)

public void addMethod (Method method)

public void addStaticImport (String staticImport)

public void addStaticImports (Set<String> staticImports)

public void addSuperInterface (FullyQualifiedJavaType superInterface)

public List<String> getFileCommentLines ()

public String getFormattedContent ()

public Set<FullyQualifiedJavaType> getImportedTypes ()

public List<Method> getMethods ()

Returns
  • Returns the methods.

public Set<String> getStaticImports ()

public FullyQualifiedJavaType getSuperClass ()

public Set<FullyQualifiedJavaType> getSuperInterfaceTypes ()

public FullyQualifiedJavaType getType ()

Returns
  • Returns the type.

public boolean isJavaEnumeration ()

public boolean isJavaInterface ()