HUC12_Data.java [src/java/svap/utils] Revision: default  Date:
/*
 * $Id$
 *
 * This file is part of the Cloud Services Integration Platform (CSIP),
 * a Model-as-a-Service framework, API, and application suite.
 *
 * 2012-2017, 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 svap.utils;

import gisobjects.GISObject;
import org.codehaus.jettison.json.JSONArray;

/**
 *
 * @author Rumpal Sidhu
 */
public abstract class HUC12_Data {

    protected String name;
    protected String id;
    protected double areaAcres;
    protected double areaSqKm;
    protected GISObject boundary;

    public HUC12_Data() {

    }

    public HUC12_Data(String name, String id, double areaAcres, double areaSqKm, GISObject boundary) {
        this.name = name;
        this.id = id;
        this.areaAcres = areaAcres;
        this.areaSqKm = areaSqKm;
        this.boundary = boundary;
    }

    public void getDataFromJSON(JSONArray jsonArray) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    public String name() {
        return name;
    }

    public String id() {
        return id;
    }

    public double areaAcres() {
        return areaAcres;
    }

    public double areaSqKm() {
        return areaSqKm;
    }

    public GISObject boundary() {
        return boundary;
    }
}