All Downloads are FREE. Search and download functionalities are using the official Maven repository.

csip.ModelSession Maven / Gradle / Ivy

Go to download

The Cloud Services Integration Platform is a SoA implementation to offer a Model-as-a-Service framework, Application Programming Interface, deployment infrastructure, and service implementations for environmental modeling.

There is a newer version: 2.6.30
Show newest version
/*
 * $Id: ModelSession.java 27bed8415b8b 2019-01-31 od $
 *
 * This file is part of the Cloud Services Integration Platform (CSIP),
 * a Model-as-a-Service framework, API and application suite.
 *
 * 2012-2019, Olaf David and others, OMSLab, Colorado State University.
 *
 * OMSLab licenses this file to you under the MIT license.
 * See the LICENSE file in the project root for more information.
 */
package csip;

/**
 * A model session
 *
 * @author Olaf David
 */
class ModelSession {

    static final String[] NO_ATTACHMENTS = new String[]{};

    String service;
    String status;
    String ip;
    String tstamp;
    String exp_date;
    String cputime;
    String req_ip;
    String[] attachments;
    String progress;
    boolean report = false;


    ModelSession() {
    }


    ModelSession(String tstamp, String exp_date, String service,
            String status, String node_ip, String cputime,
            String req_ip, String[] attachments, boolean report, String progress) {
        this.tstamp = tstamp;
        this.exp_date = exp_date;
        this.service = service;
        this.status = status;
        this.ip = node_ip;
        this.cputime = cputime;
        this.req_ip = req_ip;
        this.attachments = attachments;
        this.report = report;
        this.progress = progress;
    }


    void setProgress(String progress) {
        this.progress = progress;
    }


    String getProgress() {
        return progress;
    }


    String getNodeIP() {
        return ip;
    }


    void setNodeIP(String ip) {
        this.ip = ip;
    }


    String getReqIP() {
        return req_ip;
    }


    void setReqIP(String req_ip) {
        this.req_ip = req_ip;
    }


    String getStatus() {
        return status;
    }


    void setStatus(String status) {
        this.status = status;
    }


    String getService() {
        return service;
    }


    void setService(String service) {
        this.service = service;
    }


    String getTstamp() {
        return tstamp;
    }


    void setTstamp(String tstamp) {
        this.tstamp = tstamp;
    }


    String getExpDate() {
        return exp_date;
    }


    void setExpDate(String exp_date) {
        this.exp_date = exp_date;
    }


    String getCputime() {
        return cputime;
    }


    void setCputime(String cputime) {
        this.cputime = cputime;
    }


    String[] getAttachments() {
        return attachments;
    }


    void setAttachments(String[] attachments) {
        this.attachments = attachments;
    }


    boolean hasReport() {
        return report;
    }


    void setReport(boolean report) {
        this.report = report;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy