当前位置: 首页>>代码示例>>Java>>正文


Java InnerEnum类代码示例

本文整理汇总了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$
}
 
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:21,代码来源:DefaultCommentGenerator.java

示例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(" */"); 
}
 
开发者ID:xiachengwei5,项目名称:org.mybatis.generator.core-1.3.5,代码行数:21,代码来源:DefaultCommentGenerator.java

示例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$
}
 
开发者ID:nextyu,项目名称:summer-mybatis-generator,代码行数:22,代码来源:DefaultCommentGenerator.java

示例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$
}
 
开发者ID:fnyexx,项目名称:mybator,代码行数:19,代码来源:DefaultCommentGenerator.java

示例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(" */");
}
 
开发者ID:xiachuanshou,项目名称:shop-manager,代码行数:12,代码来源:MyCommentGenerator.java

示例6: addEnumComment

import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
@Override
public void addEnumComment(InnerEnum innerEnum, IntrospectedTable introspectedTable) {
	// TODO Auto-generated method stub

}
 
开发者ID:RuanHR,项目名称:Spring-Boot-Generater,代码行数:6,代码来源:CustomCommentGenerator.java

示例7: addEnumComment

import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
public void addEnumComment(InnerEnum innerEnum,
IntrospectedTable introspectedTable);
 
开发者ID:funny5258,项目名称:autocode,代码行数:3,代码来源:CommentGenerator.java

示例8: addEnumComment

import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
@Override
public void addEnumComment(InnerEnum innerEnum, IntrospectedTable introspectedTable) {
}
 
开发者ID:thinking-github,项目名称:nbone,代码行数:4,代码来源:CustomCommentGenerator.java

示例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);
 
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:11,代码来源:CommentGenerator.java

示例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);
 
开发者ID:backkoms,项目名称:mybatis-generator-comments,代码行数:11,代码来源:CommentGenerator.java

示例11: addEnumComment

import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
@Override
public void addEnumComment(InnerEnum innerEnum, IntrospectedTable introspectedTable) {

}
 
开发者ID:huanglicong,项目名称:mybatis-generator-example,代码行数:5,代码来源:PackageCommentGenerator.java

示例12: addEnumComment

import org.mybatis.generator.api.dom.java.InnerEnum; //导入依赖的package包/类
public void addEnumComment(InnerEnum innerEnum, IntrospectedTable introspectedTable); 
开发者ID:fnyexx,项目名称:mybator,代码行数:2,代码来源:CommentGenerator.java


注:本文中的org.mybatis.generator.api.dom.java.InnerEnum类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。