Back to project page mobile-shopping-assistant-appengine.
The source code is released under:
Apache License
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.
package ch.yereaztian.mobileassistant; //from w w w.j a va2 s .c o m import com.google.appengine.api.datastore.GeoPt; import com.google.appengine.api.datastore.Key; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; /** * Place entity. * */ @Entity public class Place { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key key; private String placeId; private String name; private String address; private GeoPt location; public Key getKey() { return key; } public String getPlaceId() { return placeId; } public void setplaceID(String placeId) { this.placeId = placeId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public GeoPt getLocation() { return location; } public void setLocation(GeoPt location) { this.location = location; } }