@@ -0,0 +1,1342 @@
+package org.azavea.otm.data;%0A%0Aimport org.json.JSONException;%0Aimport org.json.JSONObject;%0A%0Apublic class Species extends Model %7B%0A%09public Species() %7B%0A%09%09data = new JSONObject();%0A%09%7D%0A%09%0A%09public Species(int id, String scientificName, String commonName) throws JSONException %7B%0A%09%09this();%0A%09%09this.setCommonName(commonName);%0A%09%09this.setScientificName(scientificName);%0A%09%09this.setId(id);%0A%09%7D%0A%09%0A%09public int getId() throws JSONException %7B%0A%09%09return data.getInt(%22id%22);%0A%09%7D%0A%0A%09public void setId(int id) throws JSONException %7B%0A%09%09data.put(%22id%22, id);%0A%09%7D%0A%0A%09public String getScientificName() throws JSONException %7B%0A%09%09return data.getString(%22scientific_name%22);%0A%09%7D%0A%0A%09public void setScientificName(String scientificName) throws JSONException %7B%0A%09%09data.put(%22scientific_name%22, scientificName);%0A%09%7D%0A%0A%09public String getCommonName() throws JSONException %7B%0A%09%09return data.getString(%22common_name%22);%0A%09%7D%0A%0A%09public void setCommonName(String commonName) throws JSONException %7B%0A%09%09data.put(%22common_name%22, commonName);%0A%09%7D%0A%0A%09public String getSpecies() throws JSONException %7B%0A%09%09return data.getString(%22species%22);%0A%09%7D%0A%0A%09public void setSpecies(String species) throws JSONException %7B%0A%09%09data.put(%22species%22, species);%0A%09%7D%0A%09%0A%09public String getGenus() throws JSONException %7B%0A%09%09return data.getString(%22genus%22);%0A%09%7D%0A%0A%09public void setGenus(String genus) throws JSONException %7B%0A%09%09data.put(%22genus%22, genus);%0A%09%7D%0A%7D%0A

Add Species model