Android Open Source - android-facade-example Station

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 w ww. jav a 2s .  c  om
import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;

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

    @Column(name = "name")
    private String name;
    @Column(name = "data")
    private StationData data;
    @Column(name = "cityName")
    private String cityName;

    public String getName() {
        return name;

    public void setName(String name) { = name;

    public StationData getData() {
        return data;

    public void setData(StationData data) { = data;

    public String getCityName() {
        return cityName;

    public void setCityName(String cityName) {
        this.cityName = cityName;


Java Source Code List