Back to project page mitlocate.
The source code is released under:
MIT License
If you think the Android project mitlocate 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 edu.mit.locate.alerts; // www . j a v a 2 s . co m public class Alert { private String id, name, location, type; public void setID(String i) { id = i; } public String getID() { return id; } public void setName(String n) { name = n; } public String getName() { return name; } public void setLocation(String l) { location = l; } public String getLocation() { return location; } public void setType(String t) { type = t; } public String getType() { return type; } public String getDesc(){ return type+" "+location; } }