package edu.sc.seis.gee.task;

import edu.iris.Fissures.IfNetwork.ChannelId;
import edu.sc.seis.seisFile.SeisFileException;
import edu.sc.seis.seisFile.fdsnws.AbstractQueryParams;

public class CrocusPlottableQueryParams extends AbstractQueryParams {

    public CrocusPlottableQueryParams(String host) throws SeisFileException {
        super((host == null || host.length()==0) ? USC_HOST : host);
    }

    @Override
    public String getServiceName() {
        // TODO Auto-generated method stub
        return host;
    }

    public String getHost() {
        return host;
    }

    public CrocusPlottableQueryParams setHost(String host) {
        this.host = host;
        return this;
    }

    public ChannelId getChannel_id() {
        return channel_id;
    }

    public CrocusPlottableQueryParams setChannel_id(ChannelId channel_id) {
        this.channel_id = channel_id;
        return this;
    }

    public int getYear() {
        return year;
    }

    public CrocusPlottableQueryParams setYear(int year) {
        this.year = year;
        return this;
    }

    public int getJday() {
        return jday;
    }

    public CrocusPlottableQueryParams setJday(int jday) {
        this.jday = jday;
        return this;
    }

    public int getModulo() {
        return modulo;
    }

    public CrocusPlottableQueryParams setModulo(int modulo) {
        this.modulo = modulo;
        return this;
    }

    String host = USC_HOST;

    int port;

    ChannelId channel_id;

    int year;

    int jday;

    int modulo;

    public static final String USC_HOST = "crocus.seis.sc.edu";
}
