Nass_raw_results.java [src/java/methods/objects] Revision: default  Date:
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package methods.objects;

/**
 *
 * @author hokipka
 */
public class Nass_raw_results {

    private final String year;
    private final int ID;
    private final double polygon_area;
    private final double clip_grid_area;
    private final String[] crop_nass_names;
    private final double[] crop_area;

    public Nass_raw_results(String year, int ID, double polygon_area, double clip_grid_area, String[] crop_nass_names, double[] crop_area) {
        this.year = year;
        this.ID = ID;
        this.polygon_area = polygon_area;
        this.clip_grid_area = clip_grid_area;
        this.crop_nass_names = crop_nass_names;
        this.crop_area = crop_area;
    }

    public String getyear() {
        return this.year;
    }

    public int getID() {
        return this.ID;
    }

    public double getpolygon_area() {
        return this.polygon_area;
    }

    public double getclip_grid_area() {
        return this.clip_grid_area;
    }

    public String[] getcrop_nass_names() {
        return this.crop_nass_names;
    }

    public double[] getcrop_area() {
        return this.crop_area;
    }

//    static {
//        ArrayList<Nass_raw_results_object> mapcropslist = new ArrayList<Nass_raw_results_object>();
//        mapcropslist.add(new Nass_raw_results("2009",5, 2000 , 1999, new String[]{"", ""}, new double[]{100, 110}));
//    }
}