org.gcube.data.speciesplugin.requests
Class SpeciesRequest

java.lang.Object
  extended by org.gcube.data.speciesplugin.requests.SpeciesRequest

public class SpeciesRequest
extends Object

Author:
"Federico De Faveri defaveri@isti.cnr.it", "Valentina Marioli valentina.marioli@isti.cnr.it"

Constructor Summary
SpeciesRequest()
           
SpeciesRequest(String id)
           
 
Method Summary
 boolean equals(Object obj)
          
 List<String> getDatasources()
           
 String getDescription()
           
 String getId()
           
 String getName()
           
 int getRefreshPeriod()
           
 List<String> getScientificNames()
           
 TimeUnit getTimeUnit()
           
 int hashCode()
          
 boolean isStrictMatch()
           
 void setDatasources(List<String> datasources)
           
 void setDescription(String description)
           
 void setId(String id)
           
 void setName(String name)
           
 void setRefreshPeriod(int refreshPeriod)
           
 void setScientificNames(List<String> scientificNames)
           
 void setStrictMatch(boolean strictMatch)
           
 void setTimeUnit(TimeUnit timeUnit)
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpeciesRequest

public SpeciesRequest()

SpeciesRequest

public SpeciesRequest(String id)
Method Detail

getId

public String getId()
Returns:
the id

setId

public void setId(String id)
Parameters:
id - the id to set

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getDescription

public String getDescription()
Returns:
the description

setDescription

public void setDescription(String description)
Parameters:
description - the description to set

getScientificNames

public List<String> getScientificNames()
Returns:
the scientificNames

setScientificNames

public void setScientificNames(List<String> scientificNames)
Parameters:
scientificNames - the scientificNames to set

getDatasources

public List<String> getDatasources()
Returns:
the datasources

setDatasources

public void setDatasources(List<String> datasources)
Parameters:
datasources - the datasources to set

isStrictMatch

public boolean isStrictMatch()
Returns:
the strictMatch

setStrictMatch

public void setStrictMatch(boolean strictMatch)
Parameters:
strictMatch - the strictMatch to set

getRefreshPeriod

public int getRefreshPeriod()
Returns:
the refreshPeriod

setRefreshPeriod

public void setRefreshPeriod(int refreshPeriod)
Parameters:
refreshPeriod - the refreshPeriod to set

getTimeUnit

public TimeUnit getTimeUnit()
Returns:
the timeUnit

setTimeUnit

public void setTimeUnit(TimeUnit timeUnit)
Parameters:
timeUnit - the timeUnit to set

toString

public String toString()

Overrides:
toString in class Object

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.