Android Open Source - android-facade-example Station Data

From Project

Back to project page android-facade-example.


The source code is released under:

MIT License

If you think the Android project android-facade-example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.ruenzuo.weatherapp.models;
/*from ww w  .  java 2  s.  co  m*/
import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;


 * Created by ruenzuo on 09/05/14.
@Table(name = "StationData")
public class StationData extends Model implements Serializable {

    @Column(name = "temperature")
    private float temperature;
    @Column(name = "pressure")
    private float pressure;
    @Column(name = "humidity")
    private float humidity;

    public float getTemperature() {
        return temperature;

    public void setTemperature(float temperature) {
        this.temperature = temperature;

    public float getPressure() {
        return pressure;

    public void setPressure(float pressure) {
        this.pressure = pressure;

    public float getHumidity() {
        return humidity;

    public void setHumidity(float humidity) {
        this.humidity = humidity;


Java Source Code List