Package org.mybatis.generator.api.dom.java

Examples of org.mybatis.generator.api.dom.java.Field.addJavaDocLine()


  private void addField(String fieldName, FullyQualifiedJavaType fieldType,
      TopLevelClass topLevelClass, String javaDocLine)
  {
    Field tmpField = new Field(fieldName, fieldType);
    tmpField.setVisibility(JavaVisibility.PRIVATE);
    tmpField.addJavaDocLine(javaDocLine);
    topLevelClass.addField(tmpField);

    Method setMethod = new Method();
    setMethod.setName("set" + fieldName.toUpperCase().substring(0, 1)
        + fieldName.substring(1));
View Full Code Here


  private void addField(String fieldName, FullyQualifiedJavaType fieldType,
      TopLevelClass topLevelClass, String javaDocLine)
  {
    Field tmpField = new Field(fieldName, fieldType);
    tmpField.setVisibility(JavaVisibility.PRIVATE);
    tmpField.addJavaDocLine(javaDocLine);
    topLevelClass.addField(tmpField);

    Method setMethod = new Method();
    setMethod.setName("set" + fieldName.toUpperCase().substring(0, 1)
        + fieldName.substring(1));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.