org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.environments
Class SourceGenerationRequest

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

public class SourceGenerationRequest
extends DataModel


Field Summary
static String COMBINE_MATCHING
           
static ArrayList<String> executionParametersNames
           
static String FIRST_HCAF_ID
           
static String FIRST_HCAF_TIME
           
static String FORCE_MAPS_REGENERATION
           
static String GENERATE_MAPS
           
static ArrayList<String> generationParametersNames
           
static String GIS_ENABLED
           
static String NUM_INTERPOLATIONS
           
static String SECOND_HCAF_ID
           
static String SECOND_HCAF_TIME
           
 
Constructor Summary
SourceGenerationRequest()
          Deprecated. 
SourceGenerationRequest(org.gcube.application.aquamaps.aquamapsservice.stubs.HspecGroupGenerationRequestType request)
           
SourceGenerationRequest(List<Field> row)
           
SourceGenerationRequest(ResultSet rs)
           
 
Method Summary
 void addParameter(Field f)
           
 void addReportId(Integer id)
           
 void addSource(Resource toAdd)
           
 ArrayList<AlgorithmType> getAlgorithms()
           
 String getAuthor()
           
 String getBackendURL()
           
 Double getCurrentphasepercent()
           
 String getDescription()
           
 Long getEndtime()
           
 HashMap<String,String> getEnvironmentConfiguration()
           
 Integer getEvaluatedComputationCount()
           
 String getExecutionEnvironment()
           
 ArrayList<Field> getExecutionParameters()
           
 Field getField(SourceGenerationRequestFields fieldName)
           
 ArrayList<Integer> getGeneratedSources()
           
 String getGenerationname()
           
 ArrayList<Field> getGenerationParameters()
           
 ArrayList<Integer> getHcafIds()
           
 ArrayList<Integer> getHspenIds()
           
 String getId()
           
 ArrayList<Integer> getJobIds()
           
 LogicType getLogic()
           
 Integer getNumPartitions()
           
 ArrayList<Integer> getOccurrenceCellIds()
           
 SourceGenerationPhase getPhase()
           
 ArrayList<Integer> getReportID()
           
 Long getStarttime()
           
 String getSubmissionBackend()
           
 Long getSubmissiontime()
           
 Integer getToGenerateTableCount()
           
static ArrayList<SourceGenerationRequest> loadResultSet(ResultSet rs)
           
 void removeReportId(Integer id)
           
 void setAlgorithms(ArrayList<AlgorithmType> algorithms)
           
 void setAuthor(String author)
           
 void setBackendURL(String backendURL)
           
 void setCurrentphasepercent(Double currentphasepercent)
           
 void setDescription(String description)
           
 void setEndtime(Long endtime)
           
 void setEnvironmentConfiguration(HashMap<String,String> environmentConfiguration)
           
 void setEvaluatedComputationCount(Integer evaluatedComputationCount)
           
 void setExecutionEnvironment(String executionEnvironment)
           
 void setExecutionParameters(ArrayList<Field> executionParameters)
           
 boolean setField(Field f)
           
 void setGeneratedSources(ArrayList<Integer> generatedSources)
           
 void setGenerationname(String generationname)
           
 void setGenerationParameters(ArrayList<Field> generationParameters)
           
 void setHcafIds(ArrayList<Integer> hcafIds)
           
 void setHspenIds(ArrayList<Integer> hspenIds)
           
 void setId(String id)
           
 void setJobIds(ArrayList<Integer> jobIds)
           
 void setLogic(LogicType logic)
           
 void setNumPartitions(Integer numPartitions)
           
 void setOccurrenceCellIds(ArrayList<Integer> occurrenceCellIds)
           
 void setPhase(SourceGenerationPhase phase)
           
 void setReportID(List<Integer> reportID)
           
 void setStarttime(Long starttime)
           
 void setSubmissionBackend(String submissionBackend)
           
 void setSubmissiontime(Long submissiontime)
           
 void setToGenerateTableCount(Integer toGenerateTableCount)
           
 List<Field> toRow()
           
 org.gcube.application.aquamaps.aquamapsservice.stubs.HspecGroupGenerationRequestType toStubsVersion()
           
 
Methods inherited from class org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.DataModel
fromXML, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIRST_HCAF_ID

public static final String FIRST_HCAF_ID
See Also:
Constant Field Values

SECOND_HCAF_ID

public static final String SECOND_HCAF_ID
See Also:
Constant Field Values

NUM_INTERPOLATIONS

public static final String NUM_INTERPOLATIONS
See Also:
Constant Field Values

FIRST_HCAF_TIME

public static final String FIRST_HCAF_TIME
See Also:
Constant Field Values

SECOND_HCAF_TIME

public static final String SECOND_HCAF_TIME
See Also:
Constant Field Values

COMBINE_MATCHING

public static final String COMBINE_MATCHING
See Also:
Constant Field Values

FORCE_MAPS_REGENERATION

public static final String FORCE_MAPS_REGENERATION
See Also:
Constant Field Values

GENERATE_MAPS

public static final String GENERATE_MAPS
See Also:
Constant Field Values

GIS_ENABLED

public static final String GIS_ENABLED
See Also:
Constant Field Values

generationParametersNames

public static final ArrayList<String> generationParametersNames

executionParametersNames

public static final ArrayList<String> executionParametersNames
Constructor Detail

SourceGenerationRequest

public SourceGenerationRequest(ResultSet rs)
                        throws Exception
Throws:
Exception

SourceGenerationRequest

public SourceGenerationRequest(List<Field> row)

SourceGenerationRequest

@Deprecated
public SourceGenerationRequest()
Deprecated. 


SourceGenerationRequest

public SourceGenerationRequest(org.gcube.application.aquamaps.aquamapsservice.stubs.HspecGroupGenerationRequestType request)
                        throws JSONException
Throws:
JSONException
Method Detail

getGeneratedSources

public ArrayList<Integer> getGeneratedSources()

setGeneratedSources

public void setGeneratedSources(ArrayList<Integer> generatedSources)

getEndtime

public Long getEndtime()

setEndtime

public void setEndtime(Long endtime)

getStarttime

public Long getStarttime()

setStarttime

public void setStarttime(Long starttime)

getAuthor

public String getAuthor()

setAuthor

public void setAuthor(String author)

getGenerationname

public String getGenerationname()

setGenerationname

public void setGenerationname(String generationname)

getAlgorithms

public ArrayList<AlgorithmType> getAlgorithms()

setAlgorithms

public void setAlgorithms(ArrayList<AlgorithmType> algorithms)

getId

public String getId()

setId

public void setId(String id)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getPhase

public SourceGenerationPhase getPhase()

setPhase

public void setPhase(SourceGenerationPhase phase)

getSubmissiontime

public Long getSubmissiontime()

setSubmissiontime

public void setSubmissiontime(Long submissiontime)

getCurrentphasepercent

public Double getCurrentphasepercent()

setCurrentphasepercent

public void setCurrentphasepercent(Double currentphasepercent)

setEvaluatedComputationCount

public void setEvaluatedComputationCount(Integer evaluatedComputationCount)

setToGenerateTableCount

public void setToGenerateTableCount(Integer toGenerateTableCount)

getEvaluatedComputationCount

public Integer getEvaluatedComputationCount()

getToGenerateTableCount

public Integer getToGenerateTableCount()

addReportId

public void addReportId(Integer id)

removeReportId

public void removeReportId(Integer id)

loadResultSet

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

getSubmissionBackend

public String getSubmissionBackend()

setSubmissionBackend

public void setSubmissionBackend(String submissionBackend)

getLogic

public LogicType getLogic()

setLogic

public void setLogic(LogicType logic)

setReportID

public void setReportID(List<Integer> reportID)

getReportID

public ArrayList<Integer> getReportID()

setJobIds

public void setJobIds(ArrayList<Integer> jobIds)

getJobIds

public ArrayList<Integer> getJobIds()

getNumPartitions

public Integer getNumPartitions()

setNumPartitions

public void setNumPartitions(Integer numPartitions)

getExecutionEnvironment

public String getExecutionEnvironment()

setExecutionEnvironment

public void setExecutionEnvironment(String executionEnvironment)

getBackendURL

public String getBackendURL()

setBackendURL

public void setBackendURL(String backendURL)

getEnvironmentConfiguration

public HashMap<String,String> getEnvironmentConfiguration()

setEnvironmentConfiguration

public void setEnvironmentConfiguration(HashMap<String,String> environmentConfiguration)

setField

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

getField

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

toRow

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

toStubsVersion

public org.gcube.application.aquamaps.aquamapsservice.stubs.HspecGroupGenerationRequestType toStubsVersion()
                                                                                                    throws JSONException
Throws:
JSONException

getHcafIds

public ArrayList<Integer> getHcafIds()

getHspenIds

public ArrayList<Integer> getHspenIds()

getOccurrenceCellIds

public ArrayList<Integer> getOccurrenceCellIds()

setHcafIds

public void setHcafIds(ArrayList<Integer> hcafIds)

setHspenIds

public void setHspenIds(ArrayList<Integer> hspenIds)

setOccurrenceCellIds

public void setOccurrenceCellIds(ArrayList<Integer> occurrenceCellIds)

getExecutionParameters

public ArrayList<Field> getExecutionParameters()

setExecutionParameters

public void setExecutionParameters(ArrayList<Field> executionParameters)

getGenerationParameters

public ArrayList<Field> getGenerationParameters()

setGenerationParameters

public void setGenerationParameters(ArrayList<Field> generationParameters)

addSource

public void addSource(Resource toAdd)
               throws Exception
Throws:
Exception

addParameter

public void addParameter(Field f)
                  throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.