Nass_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_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;
private final Boolean[] crop;
private final double[] confidence;
public Nass_results(String year, int ID, double polygon_area, double clip_grid_area, String[] crop_nass_names, double[] crop_area, Boolean[] crop, double[] confidence) {
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;
this.crop = crop;
this.confidence = confidence;
}
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;
}
public Boolean[] getcrop() {
return this.crop;
}
public double[] getcrop_confidence() {
return this.confidence;
}
// static {
// ArrayList<Nass_raw_results_object> mapcropslist = new ArrayList<Nass_raw_results_object>();
// mapcropslist.add(new Nass_raw_results_object("2009",5, 2000 , 1999, new String[]{"", ""}, new double[]{100, 110}));
// }
}