public class NameUsageContainer extends NameUsage
Constructor and Description |
---|
NameUsageContainer()
Default constructor.
|
NameUsageContainer(NameUsage usage)
Constructs a NameUsageContainer from an existing NameUsage instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@NotNull List<NameUsage> |
getCombinations() |
@NotNull List<Description> |
getDescriptions() |
@NotNull List<Distribution> |
getDistributions() |
@NotNull Set<String> |
getHabitats()
Convenience method that analyzes all species profile records and returns the distinct list of known habitats.
|
@NotNull List<Identifier> |
getIdentifierByType(IdentifierType type) |
@NotNull List<Identifier> |
getIdentifiers() |
@NotNull Set<String> |
getLivingPeriods()
Convenience method that analyzes all species profile records and returns the distinct list of known living
periods.
|
List<NameUsageMediaObject> |
getMedia() |
@NotNull List<Reference> |
getReferenceList() |
@NotNull List<SpeciesProfile> |
getSpeciesProfiles() |
List<NameUsage> |
getSynonyms() |
@NotNull Set<ThreatStatus> |
getThreatStatus()
Convenience method that analyzes all distribution records and returns the distinct list of known threat status.
|
@NotNull List<TypeSpecimen> |
getTypeSpecimens() |
@NotNull List<VernacularName> |
getVernacularNames() |
int |
hashCode() |
Boolean |
isExtinct()
Convenience method that analyzes all species profile records for extinct.
|
Boolean |
isFreshwater()
Convenience method that analyzes all species profile records for freshwater habitat flags.
|
Boolean |
isMarine()
Convenience method that analyzes all species profile records for marine habitat flags.
|
Boolean |
isTerrestrial()
Convenience method that analyzes all species profile records for terrestrial habitat flags.
|
void |
setCombinations(List<NameUsage> combinations) |
void |
setDescriptions(List<Description> descriptions) |
void |
setDistributions(List<Distribution> distributions) |
void |
setIdentifiers(List<Identifier> identifiers) |
void |
setMedia(List<NameUsageMediaObject> media) |
void |
setReferenceList(List<Reference> referenceList) |
void |
setSpeciesProfiles(List<SpeciesProfile> speciesProfiles) |
void |
setSynonyms(List<NameUsage> synonyms) |
void |
setTypeSpecimens(List<TypeSpecimen> typeSpecimens) |
void |
setVernacularNames(List<VernacularName> vernacularNames) |
String |
toString() |
addIssue, getAccepted, getAcceptedKey, getAccordingTo, getAuthorship, getBasionym, getBasionymKey, getCanonicalName, getCanonicalOrScientificName, getClassKey, getClazz, getConstituentKey, getDatasetKey, getDeleted, getFamily, getFamilyKey, getGenus, getGenusKey, getHigherClassificationMap, getHigherRank, getHigherRankKey, getIssues, getKey, getKingdom, getKingdomKey, getLastCrawled, getLastInterpreted, getModified, getNameKey, getNameType, getNomenclaturalStatus, getNubKey, getNumDescendants, getOrder, getOrderKey, getOrigin, getParent, getParentKey, getPhylum, getPhylumKey, getProParteKey, getPublishedIn, getRank, getReferences, getRemarks, getScientificName, getSourceTaxonKey, getSpecies, getSpeciesKey, getSubgenus, getSubgenusKey, getTaxonID, getTaxonomicStatus, getVernacularName, isNub, isProParte, isSynonym, setAccepted, setAcceptedKey, setAccordingTo, setAuthorship, setBasionym, setBasionymKey, setCanonicalName, setClassKey, setClazz, setConstituentKey, setDatasetKey, setDeleted, setFamily, setFamilyKey, setGenus, setGenusKey, setIssues, setKey, setKingdom, setKingdomKey, setLastCrawled, setLastInterpreted, setModified, setNameKey, setNameType, setNomenclaturalStatus, setNubKey, setNumDescendants, setOrder, setOrderKey, setOrigin, setParent, setParentKey, setPhylum, setPhylumKey, setProParteKey, setPublishedIn, setRank, setReferences, setRemarks, setScientificName, setSourceTaxonKey, setSpecies, setSpeciesKey, setSubgenus, setSubgenusKey, setTaxonID, setTaxonomicStatus, setVernacularName
public NameUsageContainer()
public NameUsageContainer(NameUsage usage)
@NotNull public @NotNull List<Description> getDescriptions()
public void setDescriptions(List<Description> descriptions)
descriptions
- the list of Description@NotNull public @NotNull List<Distribution> getDistributions()
public void setDistributions(List<Distribution> distributions)
distributions
- the Distribution list to set@NotNull public @NotNull Set<String> getHabitats()
public List<NameUsageMediaObject> getMedia()
public void setMedia(List<NameUsageMediaObject> media)
@NotNull public @NotNull List<Identifier> getIdentifiers()
public void setIdentifiers(List<Identifier> identifiers)
identifiers
- the Identifier list to set@NotNull public @NotNull List<Identifier> getIdentifierByType(IdentifierType type)
@NotNull public @NotNull List<Reference> getReferenceList()
public void setReferenceList(List<Reference> referenceList)
referenceList
- the Reference list to set@NotNull public @NotNull List<SpeciesProfile> getSpeciesProfiles()
public void setSpeciesProfiles(List<SpeciesProfile> speciesProfiles)
speciesProfiles
- the SpeciesProfile list to setpublic List<NameUsage> getSynonyms()
public void setSynonyms(List<NameUsage> synonyms)
synonyms
- list of synonyms@NotNull public @NotNull List<NameUsage> getCombinations()
public void setCombinations(List<NameUsage> combinations)
@NotNull public @NotNull List<TypeSpecimen> getTypeSpecimens()
public void setTypeSpecimens(List<TypeSpecimen> typeSpecimens)
typeSpecimens
- the TypeSpecimen list to set@NotNull public @NotNull List<VernacularName> getVernacularNames()
public void setVernacularNames(List<VernacularName> vernacularNames)
vernacularNames
- the VernacularName list to set@NotNull public @NotNull Set<String> getLivingPeriods()
@NotNull public @NotNull Set<ThreatStatus> getThreatStatus()
public Boolean isExtinct()
public Boolean isFreshwater()
public Boolean isMarine()
public Boolean isTerrestrial()
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.