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


Java InnerEnum.addJavaDocLine方法代码示例

本文整理汇总了Java中org.mybatis.generator.api.dom.java.InnerEnum.addJavaDocLine方法的典型用法代码示例。如果您正苦于以下问题:Java InnerEnum.addJavaDocLine方法的具体用法?Java InnerEnum.addJavaDocLine怎么用?Java InnerEnum.addJavaDocLine使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.mybatis.generator.api.dom.java.InnerEnum的用法示例。


在下文中一共展示了InnerEnum.addJavaDocLine方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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


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