Back to project page GeoTagger.
The source code is released under:
GNU General Public License
If you think the Android project GeoTagger 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 horizon.geotagger.model; /*from ww w .j av a 2 s . c o m*/ import javax.jdo.annotations.IdGeneratorStrategy; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; import org.codehaus.jackson.annotate.JsonIgnoreProperties; import com.google.appengine.api.datastore.Key; @JsonIgnoreProperties({"key"}) @PersistenceCapable public class Tag { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private Attachment attachment; @Persistent private Place place; public Key getKey() { return key; } public void setKey(Key key) { this.key = key; } public Attachment getAttachment() { return attachment; } public void setAttachment(Attachment attachment) { this.attachment = attachment; } public Place getPlace() { return place; } public void setPlace(Place place) { this.place = place; } }