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

java.lang.Object
  extended by org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.DataModel
      extended by org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Analysis

public class Analysis
extends DataModel


Constructor Summary
Analysis()
           
Analysis(org.gcube_system.namespaces.application.aquamaps.types.Analysis stubs)
           
Analysis(List<Field> row)
           
Analysis(ResultSet rs)
           
 
Method Summary
 void addPerformedAnalysis(AnalysisType toAdd)
           
 void addReportId(Integer id)
           
 boolean equals(Object obj)
           
 String getArchiveLocation()
           
 String getAuthor()
           
 Double getCurrentphasepercent()
           
 String getDescription()
           
 Long getEndtime()
           
 Field getField(AnalysisFields fieldName)
           
 String getId()
           
 ArrayList<AnalysisType> getPerformedAnalysis()
           
 ArrayList<Integer> getReportID()
           
 ArrayList<Integer> getSources()
           
 Long getStarttime()
           
 SubmittedStatus getStatus()
           
 Long getSubmissiontime()
           
 String getTitle()
           
 ArrayList<AnalysisType> getType()
           
 int hashCode()
           
static ArrayList<Analysis> loadResultSet(ResultSet rs)
           
 void removeReportId(Integer id)
           
 void setArchiveLocation(String archiveLocation)
           
 void setAuthor(String author)
           
 void setCurrentphasepercent(Double currentphasepercent)
           
 void setDescription(String description)
           
 void setEndtime(Long endtime)
           
 boolean setField(Field f)
           
 void setId(String id)
           
 void setPerformedAnalysis(ArrayList<AnalysisType> performedAnalysis)
           
 void setPerformedAnalysis(List<String> toSet)
           
 void setReportID(List<Integer> reportID)
           
 void setSources(List<Integer> sources)
           
 void setStarttime(Long starttime)
           
 void setStatus(SubmittedStatus status)
           
 void setSubmissiontime(Long submissiontime)
           
 void setTitle(String title)
           
 void setType(ArrayList<AnalysisType> type)
           
 void setType(List<String> typeStrings)
           
 List<Field> toRow()
           
 org.gcube_system.namespaces.application.aquamaps.types.Analysis toStubsVersion()
           
 
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

Analysis

public Analysis()

Analysis

public Analysis(ResultSet rs)
         throws Exception
Throws:
Exception

Analysis

public Analysis(List<Field> row)

Analysis

public Analysis(org.gcube_system.namespaces.application.aquamaps.types.Analysis stubs)
Method Detail

loadResultSet

public static ArrayList<Analysis> loadResultSet(ResultSet rs)
                                         throws Exception
Throws:
Exception

setField

public boolean setField(Field f)
                 throws JSONException
Throws:
JSONException

getField

public Field getField(AnalysisFields fieldName)
               throws JSONException
Throws:
JSONException

toRow

public List<Field> toRow()
                  throws JSONException
Throws:
JSONException

getId

public String getId()

setId

public void setId(String id)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getAuthor

public String getAuthor()

setAuthor

public void setAuthor(String author)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getStatus

public SubmittedStatus getStatus()

setStatus

public void setStatus(SubmittedStatus status)

getSubmissiontime

public Long getSubmissiontime()

setSubmissiontime

public void setSubmissiontime(Long submissiontime)

getEndtime

public Long getEndtime()

setEndtime

public void setEndtime(Long endtime)

getStarttime

public Long getStarttime()

setStarttime

public void setStarttime(Long starttime)

getCurrentphasepercent

public Double getCurrentphasepercent()

setCurrentphasepercent

public void setCurrentphasepercent(Double currentphasepercent)

getReportID

public ArrayList<Integer> getReportID()

setReportID

public void setReportID(List<Integer> reportID)

getType

public ArrayList<AnalysisType> getType()

addReportId

public void addReportId(Integer id)

removeReportId

public void removeReportId(Integer id)

setType

public void setType(ArrayList<AnalysisType> type)

setType

public void setType(List<String> typeStrings)

getArchiveLocation

public String getArchiveLocation()

setArchiveLocation

public void setArchiveLocation(String archiveLocation)

getSources

public ArrayList<Integer> getSources()

setSources

public void setSources(List<Integer> sources)

setPerformedAnalysis

public void setPerformedAnalysis(ArrayList<AnalysisType> performedAnalysis)

getPerformedAnalysis

public ArrayList<AnalysisType> getPerformedAnalysis()

setPerformedAnalysis

public void setPerformedAnalysis(List<String> toSet)

addPerformedAnalysis

public void addPerformedAnalysis(AnalysisType toAdd)

toStubsVersion

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2013. All Rights Reserved.