If you think the Android project mobile-shopping-assistant-appengine 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
/*
* 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
*/*www.java2s.com*/
* 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.
*//*
* This code was generated by https://code.google.com/p/google-apis-client-generator/
* (build: 2013-12-19 23:55:21 UTC)
* on 2013-12-23 at 19:44:44 UTC
* Modify at your own risk.
*/package ch.yereaztian.mobileassistant.placeendpoint.model;
/**
* Model definition for Place.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the placeendpoint. For a detailed explanation see:
* <a href="http://code.google.com/p/google-http-java-client/wiki/JSON">http://code.google.com/p/google-http-java-client/wiki/JSON</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
publicfinalclass Place extends com.google.api.client.json.GenericJson {
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String address;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Key key;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GeoPt location;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String placeID;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String placeId;
/**
* @return value or {@code null} for none
*/public java.lang.String getAddress() {
return address;
}
/**
* @param address address or {@code null} for none
*/public Place setAddress(java.lang.String address) {
this.address = address;
returnthis;
}
/**
* @return value or {@code null} for none
*/public Key getKey() {
return key;
}
/**
* @param key key or {@code null} for none
*/public Place setKey(Key key) {
this.key = key;
returnthis;
}
/**
* @return value or {@code null} for none
*/public GeoPt getLocation() {
return location;
}
/**
* @param location location or {@code null} for none
*/public Place setLocation(GeoPt location) {
this.location = location;
returnthis;
}
/**
* @return value or {@code null} for none
*/public java.lang.String getName() {
return name;
}
/**
* @param name name or {@code null} for none
*/public Place setName(java.lang.String name) {
this.name = name;
returnthis;
}
/**
* @return value or {@code null} for none
*/public java.lang.String getPlaceID() {
return placeID;
}
/**
* @param placeID placeID or {@code null} for none
*/public Place setPlaceID(java.lang.String placeID) {
this.placeID = placeID;
returnthis;
}
/**
* @return value or {@code null} for none
*/public java.lang.String getPlaceId() {
return placeId;
}
/**
* @param placeId placeId or {@code null} for none
*/public Place setPlaceId(java.lang.String placeId) {
this.placeId = placeId;
returnthis;
}
@Override
public Place set(String fieldName, Object value) {
return (Place) super.set(fieldName, value);
}
@Override
public Place clone() {
return (Place) super.clone();
}
}