org.apache.ibatis.abator.api.dom.java
Class TopLevelEnumeration

java.lang.Object
  extended by org.apache.ibatis.abator.api.dom.java.JavaElement
      extended by org.apache.ibatis.abator.api.dom.java.InnerEnum
          extended by org.apache.ibatis.abator.api.dom.java.TopLevelEnumeration
All Implemented Interfaces:
CompilationUnit

public class TopLevelEnumeration
extends InnerEnum
implements CompilationUnit

Author:
Jeff Butler

Constructor Summary
TopLevelEnumeration(FullyQualifiedJavaType type)
           
 
Method Summary
 void addFileCommentLine(java.lang.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)
           
 java.util.List getFileCommentLines()
           
 java.lang.String getFormattedContent()
           
 java.util.Set getImportedTypes()
           
 FullyQualifiedJavaType getSuperClass()
           
 boolean isJavaEnumeration()
           
 boolean isJavaInterface()
           
 
Methods inherited from class org.apache.ibatis.abator.api.dom.java.InnerEnum
addEnumConstant, addField, addInnerClass, addInnerEnum, addMethod, addSuperInterface, getEnumConstants, getFields, getFormattedContent, getInnerClasses, getInnerEnums, getMethods, getSuperInterfaceTypes, getType
 
Methods inherited from class org.apache.ibatis.abator.api.dom.java.JavaElement
addAnnotation, addJavaDocLine, addSuppressTypeWarningsAnnotation, getAnnotations, getJavaDocLines, getVisibility, isModifierFinal, isModifierStatic, setModifierFinal, setModifierStatic, setVisibility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ibatis.abator.api.dom.java.CompilationUnit
getSuperInterfaceTypes, getType
 

Constructor Detail

TopLevelEnumeration

public TopLevelEnumeration(FullyQualifiedJavaType type)
Parameters:
type -
Method Detail

getFormattedContent

public java.lang.String getFormattedContent()
Specified by:
getFormattedContent in interface CompilationUnit

getImportedTypes

public java.util.Set getImportedTypes()
Specified by:
getImportedTypes in interface CompilationUnit

getSuperClass

public FullyQualifiedJavaType getSuperClass()
Specified by:
getSuperClass in interface CompilationUnit

isJavaInterface

public boolean isJavaInterface()
Specified by:
isJavaInterface in interface CompilationUnit

isJavaEnumeration

public boolean isJavaEnumeration()
Specified by:
isJavaEnumeration in interface CompilationUnit

addImportedType

public void addImportedType(FullyQualifiedJavaType importedType)
Specified by:
addImportedType in interface CompilationUnit

addFileCommentLine

public void addFileCommentLine(java.lang.String commentLine)
Description copied from interface: CompilationUnit
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.

Specified by:
addFileCommentLine in interface CompilationUnit

getFileCommentLines

public java.util.List getFileCommentLines()
Specified by:
getFileCommentLines in interface CompilationUnit