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 TypeMethodDescriptionboolean
Maximum 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.int
hashCode()
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.void
setAgeInDays
(Integer ageInDays) void
setExtinct
(Boolean extinct) void
setFreshwater
(Boolean freshwater) void
setHabitat
(String habitat) void
void
setLifeForm
(String lifeForm) void
setLivingPeriod
(String livingPeriod) void
void
setMassInGram
(Integer massInGram) void
setSizeInMillimeter
(Integer sizeInMillimeter) void
void
setSourceTaxonKey
(Integer sourceTaxonKey) void
setTaxonKey
(Integer taxonKey) void
setTerrestrial
(Boolean terrestrial) toString()
-
Constructor Details
-
SpeciesProfile
public SpeciesProfile()
-
-
Method Details
-
getTaxonKey
The name usage "taxon" key this species profile belongs to.- Specified by:
getTaxonKey
in interfaceNameUsageExtension
-
setTaxonKey
- Specified by:
setTaxonKey
in 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:
getSource
in interfaceNameUsageExtension
- Returns:
- a source reference string
-
setSource
- Specified by:
setSource
in interfaceNameUsageExtension
-
getSourceTaxonKey
Description copied from interface:NameUsageExtension
If the source is another name usage this is the taxonKey of that usage. Only useful for the backbone dataset.- Specified by:
getSourceTaxonKey
in interfaceNameUsageExtension
- Returns:
- The key of the name usage this instance is derived from.
-
setSourceTaxonKey
- Specified by:
setSourceTaxonKey
in interfaceNameUsageExtension
-
equals
-
hashCode
-
toString
-