org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced
Class Species

java.lang.Object
  extended by org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.DataModel
      extended by org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Species
All Implemented Interfaces:
Comparable<Species>

public class Species
extends DataModel
implements Comparable<Species>


Constructor Summary
Species(JSONObject obj)
           
Species(org.gcube_system.namespaces.application.aquamaps.types.Specie toLoad)
           
Species(String speciesId)
           
 
Method Summary
 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(org.gcube_system.namespaces.application.aquamaps.types.SpeciesArray toLoad)
           
 void setAttributesList(List<Field> attributesList)
           
 void setId(String id)
           
 JSONObject toJSONObject()
           
 org.gcube_system.namespaces.application.aquamaps.types.Specie toStubsVersion()
           
static org.gcube_system.namespaces.application.aquamaps.types.SpeciesArray toStubsVersion(Set<Species> toConvert)
           
 
Methods inherited from class org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.DataModel
fromXML, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Species

public Species(JSONObject obj)
        throws JSONException
Throws:
JSONException

Species

public Species(org.gcube_system.namespaces.application.aquamaps.types.Specie toLoad)

Species

public Species(String speciesId)
Method Detail

getAttributesList

public List<Field> getAttributesList()

setAttributesList

public void setAttributesList(List<Field> attributesList)

setId

public void setId(String id)

getId

public String getId()

getFieldbyName

public Field getFieldbyName(String fieldName)

addField

public void addField(Field toAddField)

extractEnvelope

public Envelope extractEnvelope()

toJSONObject

public JSONObject toJSONObject()
                        throws JSONException
Throws:
JSONException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

load

public static List<Species> load(org.gcube_system.namespaces.application.aquamaps.types.SpeciesArray toLoad)

toStubsVersion

public static org.gcube_system.namespaces.application.aquamaps.types.SpeciesArray toStubsVersion(Set<Species> toConvert)

toStubsVersion

public org.gcube_system.namespaces.application.aquamaps.types.Specie toStubsVersion()

compareTo

public int compareTo(Species arg0)
Specified by:
compareTo in interface Comparable<Species>

getScientificName

public String getScientificName()


Copyright © 2013. All Rights Reserved.