Station.java [src/WaterLocations] Revision: default  Date:
package WaterLocations;

/**
 * Last Updated: 19-April-2019
 * @author robert, Tyler Wible
 * @since April-2017
 */
public class Station {

    private String uniqueId;
    private String stationId;
    private String stationName;
    private String latitude;
    private String longitude;
    private String horizontalDatum; //optional, mostly for csip-cfa and csip-wrap
    private String orgId;
    private String orgName;
    private String stationType;
    private String elevation; //optional, mostly for csip-cfa and csip-wrap
    private String elevationUnits; //optional, mostly for csip-cfa and csip-wrap
    private String elevationDatum; //optional, mostly for csip-cfa and csip-wrap
    private String huc; //optional, mostly for csip-cfa and csip-wrap
    private String drainageArea; //optional, mostly for csip-cfa and csip-wrap
    private String drainageAreaUnits; //optional, mostly for csip-cfa and csip-wrap
    private boolean realTimeDataFlag; //optional, mostly for csip-cfa and csip-wrap
    private String peakStartDate; //optional, mostly for csip-cfa and csip-wrap
    private String peakEndDate; //optional, mostly for csip-cfa and csip-wrap
    private String peakCount; //optional, mostly for csip-cfa and csip-wrap
    private String waterQualityStartDate; //optional, mostly for csip-cfa and csip-wrap
    private String waterQualityEndDate; //optional, mostly for csip-cfa and csip-wrap
    private String waterQualityCount; //optional, mostly for csip-cfa and csip-wrap
    

    public Station(String id) {
        uniqueId = id;
        stationId = null;
        stationName = null;
        latitude = null;
        longitude = null;
        horizontalDatum = null;
        orgId = null;
        orgName = null;
        stationType = null;
        elevation = null;
        elevationUnits = null;
        elevationDatum = null;
        huc = null;
        drainageArea = null;
        drainageAreaUnits = null;
        realTimeDataFlag = false;
        peakStartDate = null;
        peakEndDate = null;
        peakCount = null;
        waterQualityStartDate = null;
        waterQualityEndDate = null;
        waterQualityCount = null;
    }

    public Station(String id, String staid, String name, String latitude, String longitude) {
        //A quick way to initiate a simple station (id, name, location, no other attributes)
        this.uniqueId = id;
        this.stationId = staid;
        this.stationName = name;
        this.latitude = latitude;
        this.longitude = longitude;
    }

    //Gets
    public String UniqueId() { return uniqueId; }
    public String StationId() { return stationId; }
    public String StationName() { return stationName; }
    public String Latitude() { return latitude; }
    public String Longitude() { return longitude; }
    public String HorizontalDatum() { return horizontalDatum; }
    public String OrgId() { return orgId; }
    public String OrgName() { return orgName; }
    public String StationType() { return stationType; }
    public String Elevation() { return elevation; }
    public String ElevationUnits() { return elevationUnits; }
    public String ElevationDatum() { return elevationDatum; }
    public String Huc() { return huc; }
    public String DrainageArea() { return drainageArea; }
    public String DrainageAreaUnits() { return drainageAreaUnits; }
    public boolean RealTimeDataFlag() { return realTimeDataFlag; }
    public String PeakStartDate() { return peakStartDate; }
    public String PeakEndDate() { return peakEndDate; }
    public String PeakCount() { return peakCount; }
    public String WaterQualityStartDate() { return waterQualityStartDate; }
    public String WaterQualityEndDate() { return waterQualityEndDate; }
    public String WaterQualityCount() { return waterQualityCount; }
    
    //Sets
    public void SetStationId(String id) { stationId = id; }
    public void SetStationName(String name) { stationName = name; }
    public void SetLongitude(String lon) { longitude = lon; }
    public void SetLatitude(String lat) { latitude = lat; }
    public void SetHorizontalDatum(String datum) { horizontalDatum = datum; }
    public void SetOrgName(String name) { orgName = name; }
    public void SetOrgId(String id) { orgId = id; }
    public void SetStationType(String type) { stationType = type; }
    public void SetElevation(String elev) { elevation = elev; }
    public void SetElevationUnits(String units) { elevationUnits = units; }
    public void SetElevationDatum(String datum) { elevationDatum = datum; }
    public void SetHUC(String value) { huc = value; }
    public void SetDrainageArea(String drainArea) { drainageArea = drainArea; }
    public void SetDrainageAreaUnits(String units) { drainageAreaUnits = units; }
    public void SetRealTimeDataFlag(boolean flag) { realTimeDataFlag = flag; }
    public void SetPeakStartDate(String date) { peakStartDate = date; }
    public void SetPeakEndDate(String date) { peakEndDate = date; }
    public void SetPeakCount(String count) { peakCount = count; }
    public void SetWaterQualityStartDate(String date) { waterQualityStartDate = date; }
    public void SetWaterQualityEndDate(String date) { waterQualityEndDate = date; }
    public void SetWaterQualityCount(String count) { waterQualityCount = count; }
    
}