public class Species extends DataModel implements Comparable<Species>
Constructor and Description |
---|
Species(org.json.JSONObject obj) |
Species(Species toLoad) |
Species(String speciesId) |
Modifier and Type | Method and Description |
---|---|
void |
addField(Field toAddField) |
int |
compareTo(Species arg0) |
boolean |
equals(Object obj) |
Envelope |
extractEnvelope() |
List<Field> |
getAttributesList() |
Field |
getFieldbyName(String fieldName) |
String |
getId() |
String |
getScientificName() |
int |
hashCode() |
static List<Species> |
load(SpeciesArray toLoad) |
void |
setAttributesList(List<Field> attributesList) |
void |
setId(String id) |
org.json.JSONObject |
toJSONObject() |
Species |
toStubsVersion() |
static SpeciesArray |
toStubsVersion(Set<Species> toConvert) |
public Species(org.json.JSONObject obj) throws org.json.JSONException
org.json.JSONException
public Species(Species toLoad)
public Species(String speciesId)
public void setId(String id)
public String getId()
public void addField(Field toAddField)
public Envelope extractEnvelope()
public org.json.JSONObject toJSONObject() throws org.json.JSONException
org.json.JSONException
public static List<Species> load(SpeciesArray toLoad)
public static SpeciesArray toStubsVersion(Set<Species> toConvert)
public Species toStubsVersion()
public int compareTo(Species arg0)
compareTo
in interface Comparable<Species>
public String getScientificName()
Copyright © 2017. All Rights Reserved.