Back to project page aweather.
The source code is released under:
MIT License
If you think the Android project aweather listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package im.dema.aweather.Models; import io.realm.RealmObject; import io.realm.annotations.Ignore; /**/* w ww . ja v a 2 s.c o m*/ * Created by dema on 15.11.14. */ public class CurrentWeatherModel extends RealmObject { private int cityId; private String cityName; private double lat; private double lon; private int timeStamp; private String country; private int clouds; private int windSpeed; private int windDeg; private int temp; private int pressure; private int humidity; private int temp_min; private int temp_max; private int rainHour = 0; private int rainValue = 0; private int weatherId; private String description; private String icon; @Ignore private boolean isSelected; public boolean isSelected() { return isSelected; } public void setSelected(boolean isSelected) { this.isSelected = isSelected; } public int getCityId() { return cityId; } public void setCityId(int cityId) { this.cityId = cityId; } public String getCityName() { return cityName; } public void setCityName(String cityName) { this.cityName = cityName; } public double getLon() { return lon; } public void setLon(double lon) { this.lon = lon; } public double getLat() { return lat; } public void setLat(double lat) { this.lat = lat; } public String getCountry() { return country; } public void setCountry(String country) { this.country = country; } public int getWindSpeed() { return windSpeed; } public void setWindSpeed(int windSpeed) { this.windSpeed = windSpeed; } public int getTemp() { return temp; } public void setTemp(int temp) { this.temp = temp; } public int getTemp_min() { return temp_min; } public void setTemp_min(int temp_min) { this.temp_min = temp_min; } public int getTemp_max() { return temp_max; } public void setTemp_max(int temp_max) { this.temp_max = temp_max; } public int getPressure() { return pressure; } public void setPressure(int pressure) { this.pressure = pressure; } public int getHumidity() { return humidity; } public void setHumidity(int humidity) { this.humidity = humidity; } public int getWindDeg() { return windDeg; } public void setWindDeg(int windDeg) { this.windDeg = windDeg; } public int getClouds() { return clouds; } public void setClouds(int clouds) { this.clouds = clouds; } public int getTimeStamp() { return timeStamp; } public void setTimeStamp(int timeStamp) { this.timeStamp = timeStamp; } public int getRainHour() { return rainHour; } public void setRainHour(int rainHour) { this.rainHour = rainHour; } public int getRainValue() { return rainValue; } public void setRainValue(int rainValue) { this.rainValue = rainValue; } public int getWeatherId() { return weatherId; } public void setWeatherId(int weatherId) { this.weatherId = weatherId; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getIcon() { return icon; } public void setIcon(String icon) { this.icon = icon; } }