Back to project page lightbox-android-webservices.
The source code is released under:
Apache License
If you think the Android project lightbox-android-webservices listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * Copyright (c) 2012 Lightbox// w w w. j av a2 s . c om * * 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. */ package com.lightbox.tweetsnearby.model; import java.util.List; /** * Venue * @author Fabien Devos */ public class Venue { private String mId; private String mName; private Location mLocation; private List<Category> mCategories; public String getId() { return mId; } public void setId(String id) { mId = id; } public String getName() { return mName; } public void setName(String name) { mName = name; } public Location getLocation() { return mLocation; } public void setLocation(Location location) { mLocation = location; } public List<Category> getCategories() { return mCategories; } public void setCategories(List<Category> categories) { mCategories = categories; } @Override public String toString() { return mName; } /************************************** * Category */ public static class Category { private String mName; public String getName() { return mName; } public void setName(String name) { mName = name; } } /************************************** * Location */ public static class Location { private String mAddress; private double mLat; private double mLong; private int mDistance; private String mCrossStreet; private String mPostalCode; private String mCity; private String mState; private String mCountry; public String getAddress() { return mAddress; } public void setAddress(String address) { mAddress = address; } public double getLat() { return mLat; } public void setLat(double lat) { mLat = lat; } public double getLng() { return mLong; } public void setLng(double l) { mLong = l; } public int getDistance() { return mDistance; } public void setDistance(int distance) { mDistance = distance; } public String getCrossStreet() { return mCrossStreet; } public void setCrossStreet(String crossStreet) { mCrossStreet = crossStreet; } public String getPostalCode() { return mPostalCode; } public void setPostalCode(String postalCode) { mPostalCode = postalCode; } public String getCity() { return mCity; } public void setCity(String city) { mCity = city; } public String getState() { return mState; } public void setState(String state) { mState = state; } public String getCountry() { return mCountry; } public void setCountry(String country) { mCountry = country; } } }