Package org.molgenis.generators

Examples of org.molgenis.generators.GeneratorHelper


    }

    templateArgs.put("model", model);
    templateArgs.put("methods", methodList);
    templateArgs.put("entities", entityList);
    templateArgs.put("helper", new GeneratorHelper(null));
    templateArgs.put("package", APP_DIR + ".servlet");
    templateArgs.put("db_filepath", options.db_filepath);
    templateArgs.put("db_user", options.db_user);
    templateArgs.put("db_password", options.db_password);
    templateArgs.put("db_uri", options.db_uri);
View Full Code Here


      str += ", mref_name=" + this.mref_name + ", mref_localid=" + this.mref_localid + ", mref_remoteid="
          + this.mref_remoteid;
    }
    if (type instanceof XrefField || type instanceof MrefField)
    {
      str += ", xref_label=" + new GeneratorHelper(null).toCsv(this.xref_labels);
    }

    // settings
    str += ", auto=" + auto;
    str += ", nillable=" + nillable;
View Full Code Here

    }

    templateArgs.put("model", model);
    templateArgs.put("methods", methodList);
    templateArgs.put("entities", entityList);
    templateArgs.put("helper", new GeneratorHelper(null));
    templateArgs.put("package", APP_DIR);
    templateArgs.put("databaseImp",
        options.mapper_implementation.equals(MolgenisOptions.MapperImplementation.JPA) ? "jpa" : "jdbc");
    templateArgs.put("db_filepath", options.db_filepath);
View Full Code Here

    }

    templateArgs.put("model", model);
    templateArgs.put("methods", methodList);
    templateArgs.put("entities", entityList);
    templateArgs.put("helper", new GeneratorHelper(null));
    templateArgs.put("package", APP_DIR + ".servlet");
    OutputStream targetOut = new FileOutputStream(target);
    template.process(templateArgs, new OutputStreamWriter(targetOut, Charset.forName("UTF-8")));
    targetOut.close();
View Full Code Here

    }

    templateArgs.put("model", model);
    templateArgs.put("methods", methodList);
    templateArgs.put("entities", entityList);
    templateArgs.put("helper", new GeneratorHelper(null));
    templateArgs.put("package", APP_DIR + ".servlet");
    OutputStream targetOut = new FileOutputStream(target);
    template.process(templateArgs, new OutputStreamWriter(targetOut, Charset.forName("UTF-8")));
    targetOut.close();
View Full Code Here

TOP

Related Classes of org.molgenis.generators.GeneratorHelper

Copyright © 2018 www.massapicom. 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.