public class SpeciesProfile extends Object implements NameUsageExtension
Constructor and Description |
---|
SpeciesProfile() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getAgeInDays()
Maximum observed age of an organism given as number of days.
|
String |
getHabitat()
Comma separated list of mayor habitat classification as defined by IUCN in which a species is known to exist:
Habitats Vocabulary
|
String |
getLifeForm()
A term describing the growth/lifeform of an organism.
|
String |
getLivingPeriod()
The (geological) time a currently extinct organism is known to have lived.
|
Integer |
getMassInGram()
Maximum observed weight of an organism in grams.
|
Integer |
getSizeInMillimeter()
Maximum observed size of an organism in millimetres.
|
String |
getSource() |
Integer |
getSourceTaxonKey()
If the source is another name usage this is the taxonKey of that usage.
|
Integer |
getTaxonKey()
The name usage "taxon" key this species profile belongs to.
|
int |
hashCode() |
Boolean |
isExtinct()
Flag indicating an extinct organism.
|
Boolean |
isFreshwater()
A Boolean flag indicating whether the taxon is a freshwater organism.
|
Boolean |
isHybrid()
Flag indicating a hybrid organism.
|
Boolean |
isMarine()
A Boolean flag indicating whether the taxon is a marine organism, i.e.
|
Boolean |
isTerrestrial()
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 |
setHybrid(Boolean hybrid) |
void |
setLifeForm(String lifeForm) |
void |
setLivingPeriod(String livingPeriod) |
void |
setMarine(Boolean marine) |
void |
setMassInGram(Integer massInGram) |
void |
setSizeInMillimeter(Integer sizeInMillimeter) |
void |
setSource(String source) |
void |
setSourceTaxonKey(Integer sourceTaxonKey) |
void |
setTaxonKey(Integer taxonKey) |
void |
setTerrestrial(Boolean terrestrial) |
String |
toString() |
public SpeciesProfile()
public Integer getTaxonKey()
getTaxonKey
in interface NameUsageExtension
public void setTaxonKey(Integer taxonKey)
setTaxonKey
in interface NameUsageExtension
@Nullable public Integer getAgeInDays()
Example: 5.
public void setAgeInDays(Integer ageInDays)
ageInDays
- the ageInDays to set@Nullable public Boolean isFreshwater()
public void setFreshwater(Boolean freshwater)
@Nullable public String getHabitat()
Example: 1.1.
public void setHabitat(String habitat)
habitat
- the habitat to set.@Nullable public String getLifeForm()
Example: Phanerophyte.
public void setLifeForm(String lifeForm)
lifeForm
- the lifeForm to set@Nullable public String getLivingPeriod()
Example: Cretaceous.
public void setLivingPeriod(String livingPeriod)
livingPeriod
- the livingPeriod to set@Nullable public Integer getMassInGram()
Example: 12.
public void setMassInGram(Integer massInGram)
massInGram
- the massInGram to set@Nullable public Integer getSizeInMillimeter()
Example: 1500.
public void setSizeInMillimeter(Integer sizeInMillimeter)
sizeInMillimeter
- the sizeInMillimeter to se@Nullable public Boolean isExtinct()
Example: true - false.
public void setExtinct(Boolean extinct)
extinct
- the extinct to set@Nullable public Boolean isHybrid()
Example: true - false.
@Nullable public Boolean isMarine()
Example: true - false.
@Nullable public Boolean isTerrestrial()
Example: true - false.
public void setTerrestrial(Boolean terrestrial)
terrestrial
- the terrestrial to set@Nullable public String getSource()
getSource
in interface NameUsageExtension
public void setSource(String source)
setSource
in interface NameUsageExtension
@Nullable public Integer getSourceTaxonKey()
NameUsageExtension
getSourceTaxonKey
in interface NameUsageExtension
public void setSourceTaxonKey(Integer sourceTaxonKey)
setSourceTaxonKey
in interface NameUsageExtension
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.