Android Open Source - android-facade-example Country

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;
// w  w  w.  jav a2 s .c o  m
import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;


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

    @Column(name = "name")
    private String name;
    @Column(name = "code")
    private String code;

    public String getName() {
        return name;

    public void setName(String name) { = name;

    public String getCode() {
        return code;

    public void setCode(String code) {
        this.code = code;


Java Source Code List