Class InnerEnum
java.lang.Object
org.mybatis.generator.api.dom.java.JavaElement
org.mybatis.generator.api.dom.java.AbstractJavaType
org.mybatis.generator.api.dom.java.InnerEnum
- Direct Known Subclasses:
TopLevelEnumeration
This class encapsulates the idea of an inner enum - it has methods that make it easy to generate inner enum.
- Author:
- Jeff Butler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEnumConstant
(String enumConstant) void
addInitializationBlock
(InitializationBlock initializationBlock) Methods inherited from class org.mybatis.generator.api.dom.java.AbstractJavaType
addField, addInnerClass, addInnerEnum, addInnerInterface, addMethod, addSuperInterface, getFields, getInnerClasses, getInnerEnums, getInnerInterfaces, getMethods, getSuperInterfaceTypes, getType
Methods inherited from class org.mybatis.generator.api.dom.java.JavaElement
addAnnotation, addJavaDocLine, addSuppressTypeWarningsAnnotation, getAnnotations, getJavaDocLines, getVisibility, isStatic, setStatic, setVisibility
-
Constructor Details
-
InnerEnum
-
InnerEnum
-
-
Method Details
-
getEnumConstants
-
addEnumConstant
-
getInitializationBlocks
-
addInitializationBlock
-