/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package usda.weru.gis.data;

import usda.weru.weps.location.Station;

/**
 *
 * @author Joseph Levin <joelevin@weru.ksu.edu>
 */
public class SelectArea {

    private String c_name;
    private Type c_type;
    private Station c_station;

    public SelectArea(Type type){
        c_type = type;
        c_name = type.name();
    }

    public SelectArea(Station station){
        this(Type.Station);
        c_station = station;
        c_name = station.getDisplayName();

    }

    public String getName(){
        return c_name;
    }

    public Station getStation(){
        return c_station;
    }

    public Type getType(){
        return c_type;
    }

    public enum Type{
        Station,
        Out,
        Interpolated,
        Null
    }

}
