package edu.wsu.weather.agweathernet.helpers;

import java.io.Serializable;

public class StationModel implements Serializable {
	private static final long serialVersionUID = 1L;
	private String unitId;
	private String name;
	private String county;
	private String city;
	private String state;
	private String installationDate;
	private String distance;
	private boolean isFavourite;
	// stations details data
	private String airTemp;
	private String relHumid;
	private String windSpeed;
	private String precip;

	public StationModel() {

	}

	public StationModel(String unitId, String name, String county,
			String installationDate) {
		this.setUnitId(unitId);
		this.setName(name);
		this.setCounty(county);
		this.setInstallationDate(installationDate);
	}

	public String getUnitId() {
		return unitId;
	}

	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}

	public String getName() {
		return name;
	}

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

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	public String getInstallationDate() {
		return installationDate;
	}

	public void setInstallationDate(String installationDate) {
		this.installationDate = installationDate;
	}

	@Override
	public String toString() {
		return this.name + " " + this.county;
	}

	public boolean isFavourite() {
		return isFavourite;
	}

	public void setFavourite(boolean isFavourite) {
		this.isFavourite = isFavourite;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getAirTemp() {
		return airTemp;
	}

	public void setAirTemp(String airTemp) {
		this.airTemp = airTemp;
	}

	public String getWindSpeed() {
		return windSpeed;
	}

	public void setWindSpeed(String windSpeed) {
		this.windSpeed = windSpeed;
	}

	public String getPrecip() {
		return precip;
	}

	public void setPrecip(String precip) {
		this.precip = precip;
	}

	public String getRelHumid() {
		return relHumid;
	}

	public void setRelHumid(String relHumid) {
		this.relHumid = relHumid;
	}
}
