Component.java [src/java/m/wqm/wqmsoilattributes] Revision: 75536cb4a3a1cec75d1e239cd980034e2d3ee091  Date: Sat Jun 27 19:50:42 MDT 2015
package m.wqm.wqmsoilattributes;

/**
 *
 * @author RUMPAL SIDHU
 */
public class Component {

    private String cokey; //Soil Component Key
    private String name; //Soil Component Name
    private double area; //Soil Component Area (Acres) in the Area of Analysis
    private String hsg; //Hydrologic Soil Group of the Soil Component
    private String taxorder; //Taxonomic Order of the Soil Component
    private double slope; //Slope Percentage of the Soil Component
    private double kfactor; //K factor of the Surface Mineral Horizon of the Soil Component
    private int coarseFrag; //Weighted Average Coarse Rock Fragment Volume Percentage through the Profile of the Soil Component
    private double organicMatter; //Organic Matter Percentage of the  Surface Horizon of the Soil Component
    private double hzdepth; //Depth (inches) of the Surface Horizon of the Soil Component
    private boolean cracksgr24; //Surface Connected Macropores (Cracks) at Least 24 Inches Deep;  default is False
    private boolean slopegr15; //Field Slope is Greater Than 15%; default is False
    private boolean hwt_lt_24; //High Water is Less than 24 Inches Under the Surface; default is False

    public Component() {
        cracksgr24 = false;
        slopegr15 = false;
        hwt_lt_24 = false;
    }

    //Setter Methods
    public void setCokey(String key) {
        this.cokey = key;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setArea(double area) {
        this.area = area;
    }

    public void setHsg(String hsg) {
        this.hsg = hsg;
    }

    public void setTaxorder(String taxorder) {
        this.taxorder = taxorder;
    }

    public void setSlope(double slope) {
        this.slope = slope;
    }

    public void setKfactor(double kfactor) {
        this.kfactor = kfactor;
    }

    public void setCoarseFrag(int coarseFrag) {
        this.coarseFrag = coarseFrag;
    }

    public void setOrganicMatter(double organicMatter) {
        this.organicMatter = organicMatter;
    }

    public void setHzdepth(double depth) {
        this.hzdepth = depth;
    }

    //Getter Methods
    public String getCokey() {
        return this.cokey;
    }

    public String getName() {
        return this.name;
    }

    public double getArea() {
        return this.area;
    }

    public String getHsg() {
        return this.hsg;
    }

    public String getTaxorder() {
        return this.taxorder;
    }

    public double getSlope() {
        return this.slope;
    }

    public double getKfactor() {
        return this.kfactor;
    }

    public int getCoarseFrag() {
        return this.coarseFrag;
    }

    public double getOrganicMatter() {
        return this.organicMatter;
    }

    public double getHzdepth() {
        return this.hzdepth;
    }

    public boolean getCracksgr24() {
        return this.cracksgr24;
    }

    public boolean getSlopegr15() {
        return this.slopegr15;
    }

    public boolean getHwt_lt_24() {
        return this.hwt_lt_24;
    }
}