Android Open Source - firstcodeandroid City

From Project

Back to project page firstcodeandroid.


The source code is released under:

MIT License

If you think the Android project firstcodeandroid 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.vjia.coolweather.model;
//from   ww w .  ja v  a  2
public class City {
  private int id;
  private String cityName;
  private String cityCode;
  private int provinceId;

  public int getProvinceId() {
    return provinceId;

  public void setProvinceId(int provinceId) {
    this.provinceId = provinceId;

  public int getId() {
    return id;

  public void setId(int id) { = id;

  public String getCityName() {
    return cityName;

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

  public String getCityCode() {
    return cityCode;

  public void setCityCode(String cityCode) {
    this.cityCode = cityCode;

Java Source Code List