Back to project page openhds-tablet.
The source code is released under:
OPENHDS PLATFORM OPENSOURCE LICENSE AGREEMENT Copyright (c) 2013 University of Southern Maine. All rights reserved. Redistribution and use in source and binary forms, with or without mo...
If you think the Android project openhds-tablet 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 org.openhds.mobile.model; //from ww w.ja va 2 s . co m import java.io.Serializable; public class Location implements Serializable { private static final long serialVersionUID = -8462273781331229805L; private String extId; private String name; private String latitude; private String longitude; private String hierarchy; // specific field for cross river private String head; private static Location location; public String getExtId() { return extId; } public void setExtId(String extId) { this.extId = extId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getLatitude() { return latitude; } public void setLatitude(String latitude) { this.latitude = latitude; } public String getLongitude() { return longitude; } public void setLongitude(String longitude) { this.longitude = longitude; } public String getHierarchy() { return hierarchy; } public void setHierarchy(String hierarchy) { this.hierarchy = hierarchy; } public String getHead() { return head; } public void setHead(String head) { this.head = head; } public static Location emptyLocation() { if (location == null) { location = new Location(); location.extId = ""; location.head = ""; location.hierarchy = ""; location.latitude = ""; location.longitude = ""; location.name = ""; } return location; } }