Package repast.simphony.data.db.outputter.engine

Examples of repast.simphony.data.db.outputter.engine.DefaultDbOutputterDescriptor


    /**
     * @return maximum runID over all output descriptors.
     */
    public static int getCurrentMaxRunId(String runInfoTable, DBConnectionInfo dbConInfo) {
      if (runIdCalculations.size() == 0) {
        DbOutputterDescriptor pseudoDescriptor = new DefaultDbOutputterDescriptor();
        pseudoDescriptor.setName(PSEUDO_DESCRIPTOR);
        pseudoDescriptor.setRunInfoTableName(runInfoTable);
        Connection con = getConnection(null, dbConInfo);
       
        LOG.debug("Connection in getCurrentMaxRunID: " + con, con);
        runId = getRunIDStatic(pseudoDescriptor, con);
        try {
View Full Code Here


    super.applyState();

    DbOutputterDescriptor descriptor = model.getDescriptor();

    if (descriptor == null || !(descriptor instanceof DbOutputterDescriptor)) {
      descriptor = new DefaultDbOutputterDescriptor("Name");
      model.setDescriptor(descriptor);
    }

    for (String column : descriptor.getColumns()) {
      descriptor.removeColumn(column);
View Full Code Here

TOP

Related Classes of repast.simphony.data.db.outputter.engine.DefaultDbOutputterDescriptor

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.