/** * This is a tutorial source code * provided "as is" and without warranties. * * For any question please visit the web site * http://www.survivingwithandroid.com * * or write an email to * survivingwithandroid@gmail.com * */ package net.frakbot.FWeather.updater.weather.model; import java.io.Serializable; /* * Copyright (C) 2013 Surviving with Android (http://www.survivingwithandroid.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ public class Location implements Serializable { private float mLongitude; private float mLatitude; private long mSunset; private long mSunrise; private String mCountry; private String mCity; public float getLongitude() { return mLongitude; } public void setLongitude(float longitude) { mLongitude = longitude; } public float getLatitude() { return mLatitude; } public void setLatitude(float latitude) { mLatitude = latitude; } public long getSunset() { return mSunset; } public void setSunset(long sunset) { mSunset = sunset; } public long getSunrise() { return mSunrise; } public void setSunrise(long sunrise) { mSunrise = sunrise; } public String getCountry() { return mCountry; } public void setCountry(String country) { mCountry = country; } public String getCity() { return mCity; } public void setCity(String city) { mCity = city; } }