本文整理汇总了Java中org.mybatis.generator.api.dom.java.InnerEnum类的典型用法代码示例。如果您正苦于以下问题:Java InnerEnum类的具体用法?Java InnerEnum怎么用?Java InnerEnum使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
InnerEnum类属于org.mybatis.generator.api.dom.java包,在下文中一共展示了InnerEnum类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addEnumComment
import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
public void addEnumComment(InnerEnum innerEnum,
IntrospectedTable introspectedTable) {
if (suppressAllComments) {
return;
}
StringBuilder sb = new StringBuilder();
innerEnum.addJavaDocLine("/**"); //$NON-NLS-1$
innerEnum
.addJavaDocLine(" * This enum was generated by MyBatis Generator."); //$NON-NLS-1$
sb.append(" * This enum corresponds to the database table "); //$NON-NLS-1$
sb.append(introspectedTable.getFullyQualifiedTable());
innerEnum.addJavaDocLine(sb.toString());
addJavadocTag(innerEnum, false);
innerEnum.addJavaDocLine(" */"); //$NON-NLS-1$
}
示例2: addEnumComment
import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
public void addEnumComment(InnerEnum innerEnum,
IntrospectedTable introspectedTable) {
if (suppressAllComments) {
return;
}
StringBuilder sb = new StringBuilder();
innerEnum.addJavaDocLine("/**");
innerEnum
.addJavaDocLine(" * This enum was generated by MyBatis Generator.");
sb.append(" * This enum corresponds to the database table ");
sb.append(introspectedTable.getFullyQualifiedTable());
innerEnum.addJavaDocLine(sb.toString());
addJavadocTag(innerEnum, false);
innerEnum.addJavaDocLine(" */");
}
示例3: addEnumComment
import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
@Override
public void addEnumComment(InnerEnum innerEnum,
IntrospectedTable introspectedTable) {
if (suppressAllComments) {
return;
}
StringBuilder sb = new StringBuilder();
innerEnum.addJavaDocLine("/**"); //$NON-NLS-1$
innerEnum
.addJavaDocLine(" * This enum was generated by MyBatis Generator."); //$NON-NLS-1$
sb.append(" * This enum corresponds to the database table "); //$NON-NLS-1$
sb.append(introspectedTable.getFullyQualifiedTable());
innerEnum.addJavaDocLine(sb.toString());
addJavadocTag(innerEnum, false);
innerEnum.addJavaDocLine(" */"); //$NON-NLS-1$
}
示例4: addEnumComment
import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
public void addEnumComment(InnerEnum innerEnum, IntrospectedTable introspectedTable) {
if (suppressAllComments) {
return;
}
StringBuilder sb = new StringBuilder();
innerEnum.addJavaDocLine("/**"); //$NON-NLS-1$
innerEnum.addJavaDocLine(" * This enum was generated by MyBatis Generator."); //$NON-NLS-1$
sb.append(" * This enum corresponds to the database table "); //$NON-NLS-1$
sb.append(introspectedTable.getFullyQualifiedTable());
innerEnum.addJavaDocLine(sb.toString());
addJavadocTag(innerEnum, false);
innerEnum.addJavaDocLine(" */"); //$NON-NLS-1$
}
示例5: addEnumComment
import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
public void addEnumComment(InnerEnum innerEnum, IntrospectedTable introspectedTable) {
if (suppressAllComments) {
return;
}
StringBuilder sb = new StringBuilder();
innerEnum.addJavaDocLine("/**");
sb.append(" * ");
sb.append(introspectedTable.getFullyQualifiedTable());
innerEnum.addJavaDocLine(sb.toString().replace("\n", " "));
innerEnum.addJavaDocLine(" */");
}
示例6: addEnumComment
import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
@Override
public void addEnumComment(InnerEnum innerEnum, IntrospectedTable introspectedTable) {
// TODO Auto-generated method stub
}
示例7: addEnumComment
import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
public void addEnumComment(InnerEnum innerEnum,
IntrospectedTable introspectedTable);
示例8: addEnumComment
import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
@Override
public void addEnumComment(InnerEnum innerEnum, IntrospectedTable introspectedTable) {
}
示例9: addEnumComment
import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
/**
* Adds the enum comment.
*
* @param innerEnum
* the inner enum
* @param introspectedTable
* the introspected table
*/
void addEnumComment(InnerEnum innerEnum,
IntrospectedTable introspectedTable);
示例10: addEnumComment
import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
/**
* Adds the enum comment.
*
* @param innerEnum
* the inner enum
* @param introspectedTable
* the introspected table
*/
public void addEnumComment(InnerEnum innerEnum,
IntrospectedTable introspectedTable);
示例11: addEnumComment
import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
@Override
public void addEnumComment(InnerEnum innerEnum, IntrospectedTable introspectedTable) {
}
示例12: addEnumComment
import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
public void addEnumComment(InnerEnum innerEnum, IntrospectedTable introspectedTable);