Package org.gbif.api.model.checklistbank
Class SpeciesProfile
java.lang.Object
org.gbif.api.model.checklistbank.SpeciesProfile
- All Implemented Interfaces:
NameUsageExtension
SpeciesProfile Model Object represents a species profile which describes basic species characteristics.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMaximum observed age of an organism given as number of days.Comma separated list of mayor habitat classification as defined by IUCN in which a species is known to exist: Habitats VocabularyA term describing the growth/lifeform of an organism.The (geological) time a currently extinct organism is known to have lived.Maximum observed weight of an organism in grams.Maximum observed size of an organism in millimetres.If the source is another name usage this is the taxonKey of that usage.The name usage "taxon" key this species profile belongs to.inthashCode()Flag indicating an extinct organism.A Boolean flag indicating whether the taxon is a freshwater organism.isHybrid()Flag indicating a hybrid organism.isMarine()A Boolean flag indicating whether the taxon is a marine organism, i.e.A Boolean flag indicating the taxon is a terrestrial organism, i.e.voidsetAgeInDays(Integer ageInDays) voidsetExtinct(Boolean extinct) voidsetFreshwater(Boolean freshwater) voidsetHabitat(String habitat) voidvoidsetLifeForm(String lifeForm) voidsetLivingPeriod(String livingPeriod) voidvoidsetMassInGram(Integer massInGram) voidsetSizeInMillimeter(Integer sizeInMillimeter) voidvoidsetSourceTaxonKey(Integer sourceTaxonKey) voidsetTaxonKey(Integer taxonKey) voidsetTerrestrial(Boolean terrestrial) toString()
-
Constructor Details
-
SpeciesProfile
public SpeciesProfile()
-
-
Method Details
-
getTaxonKey
The name usage "taxon" key this species profile belongs to.- Specified by:
getTaxonKeyin interfaceNameUsageExtension
-
setTaxonKey
- Specified by:
setTaxonKeyin interfaceNameUsageExtension
-
getAgeInDays
Maximum observed age of an organism given as number of days.Example: 5.
- Returns:
- the ageInDays
-
setAgeInDays
- Parameters:
ageInDays- the ageInDays to set
-
isFreshwater
A Boolean flag indicating whether the taxon is a freshwater organism.- Returns:
- freshwater flag
-
setFreshwater
-
getHabitat
Comma separated list of mayor habitat classification as defined by IUCN in which a species is known to exist: Habitats VocabularyExample: 1.1.
- Returns:
- the habitat
-
setHabitat
- Parameters:
habitat- the habitat to set.
-
getLifeForm
A term describing the growth/lifeform of an organism. Should be based on a vocabulary like Raunkiær for plants: http://en.wikipedia.org/wiki/Raunkiær_plant_life- form. Recommended vocabulary: http://rs.gbif.org/vocabulary/gbif/life_form.xmlExample: Phanerophyte.
- Returns:
- the lifeForm
-
setLifeForm
- Parameters:
lifeForm- the lifeForm to set
-
getLivingPeriod
The (geological) time a currently extinct organism is known to have lived. For geological times of fossils ideally based on a vocabulary like http://en.wikipedia.org/wiki/Geologic_columnExample: Cretaceous.
- Returns:
- the livingPeriod
-
setLivingPeriod
- Parameters:
livingPeriod- the livingPeriod to set
-
getMassInGram
Maximum observed weight of an organism in grams.Example: 12.
- Returns:
- the massInGram
-
setMassInGram
- Parameters:
massInGram- the massInGram to set
-
getSizeInMillimeter
Maximum observed size of an organism in millimetres. Can be either height, length or width, whichever is greater.Example: 1500.
- Returns:
- the sizeInMillimeter
-
setSizeInMillimeter
- Parameters:
sizeInMillimeter- the sizeInMillimeter to se
-
isExtinct
Flag indicating an extinct organism. Details about the timeperiod the organism has lived in can be supplied below.Example: true - false.
- Returns:
- the extinct
-
setExtinct
- Parameters:
extinct- the extinct to set
-
isHybrid
Flag indicating a hybrid organism. This does not have to be reflected in the name, but can be based on other studies like chromosome numbers etc.Example: true - false.
- Returns:
- the hybrid
-
setHybrid
- Parameters:
hybrid- the hybrid to set
-
isMarine
A Boolean flag indicating whether the taxon is a marine organism, i.e. can be found in/above sea waterExample: true - false.
- Returns:
- is marine flag
-
setMarine
- Parameters:
marine- the marine to set
-
isTerrestrial
A Boolean flag indicating the taxon is a terrestrial organism, i.e. occurs on land as opposed to the sea.Example: true - false.
- Returns:
- the terrestrial
-
setTerrestrial
- Parameters:
terrestrial- the terrestrial to set
-
getSource
- Specified by:
getSourcein interfaceNameUsageExtension- Returns:
- a source reference string
-
setSource
- Specified by:
setSourcein interfaceNameUsageExtension
-
getSourceTaxonKey
Description copied from interface:NameUsageExtensionIf the source is another name usage this is the taxonKey of that usage. Only useful for the backbone dataset.- Specified by:
getSourceTaxonKeyin interfaceNameUsageExtension- Returns:
- The key of the name usage this instance is derived from.
-
setSourceTaxonKey
- Specified by:
setSourceTaxonKeyin interfaceNameUsageExtension
-
equals
-
hashCode
-
toString
-