public class NameUsageMatch extends Object implements LinneanClassification, LinneanClassificationKeys, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
NameUsageMatch.MatchType |
| Constructor and Description |
|---|
NameUsageMatch() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getAcceptedUsageKey()
The key of the accepted name usage in case the matched usage was a synonym.
|
List<NameUsageMatch> |
getAlternatives() |
String |
getCanonicalName() |
Integer |
getClassKey()
Return the class key for this usage.
|
String |
getClazz()
Return the class for this usage.
|
@Min(value=0L) @Max(value=100L) Integer |
getConfidence()
The confidence that the lookup was correct.
|
String |
getFamily()
Return the family for this usage.
|
Integer |
getFamilyKey()
Return the family key for this usage.
|
String |
getGenus()
Return the genus for this usage.
|
Integer |
getGenusKey()
Return the genus key for this usage.
|
String |
getHigherRank(Rank rank)
Gets a higher taxon property by passing the rank of it.
|
Integer |
getHigherRankKey(Rank rank)
Gets a higher taxon key by passing the rank of it.
|
String |
getKingdom()
Return the kingdom for this usage.
|
Integer |
getKingdomKey()
Return the kingdom key for this usage.
|
NameUsageMatch.MatchType |
getMatchType() |
String |
getNote()
Optional notes on the matching.
|
String |
getOrder()
Return the order for this usage.
|
Integer |
getOrderKey()
Return the order key for this usage.
|
String |
getPhylum()
Return the phylum for this usage.
|
Integer |
getPhylumKey()
Return the phylum key for this usage.
|
Rank |
getRank() |
String |
getScientificName()
The scientific name of the matched name usage.
|
String |
getSpecies()
Return the species for this usage.
|
Integer |
getSpeciesKey()
Return the species key for this usage.
|
TaxonomicStatus |
getStatus()
The taxonomic status of the backbone usage.
|
String |
getSubgenus()
Return the canonical subgenus name for this usage.
|
Integer |
getSubgenusKey()
Return the subgenus key for this usage.
|
Integer |
getUsageKey()
The name usage key of the name usage that has been matched.
|
int |
hashCode() |
boolean |
isSynonym() |
void |
setAcceptedUsageKey(Integer acceptedUsageKey) |
void |
setAlternatives(List<NameUsageMatch> alternatives) |
void |
setCanonicalName(String canonicalName) |
void |
setClassKey(Integer classKey) |
void |
setClazz(String clazz) |
void |
setConfidence(Integer confidence) |
void |
setFamily(String family) |
void |
setFamilyKey(Integer familyKey) |
void |
setGenus(String genus) |
void |
setGenusKey(Integer genusKey) |
void |
setKingdom(String kingdom) |
void |
setKingdomKey(Integer kingdomKey) |
void |
setMatchType(NameUsageMatch.MatchType matchType) |
void |
setNote(String note) |
void |
setOrder(String order) |
void |
setOrderKey(Integer orderKey) |
void |
setPhylum(String phylum) |
void |
setPhylumKey(Integer phylumKey) |
void |
setRank(Rank rank) |
void |
setScientificName(String scientificName) |
void |
setSpecies(String species) |
void |
setSpeciesKey(Integer speciesKey) |
void |
setStatus(TaxonomicStatus status) |
void |
setSubgenus(String subgenus) |
void |
setSubgenusKey(Integer subgenusKey) |
void |
setUsageKey(Integer usageKey) |
String |
toString() |
public NameUsageMatch()
@Min(value=0L) @Max(value=100L) public @Min(value=0L) @Max(value=100L) Integer getConfidence()
public void setConfidence(Integer confidence)
confidence - the confidence to setpublic NameUsageMatch.MatchType getMatchType()
public void setMatchType(NameUsageMatch.MatchType matchType)
@Nullable public String getScientificName()
public void setScientificName(String scientificName)
@Nullable public Integer getUsageKey()
public void setUsageKey(Integer usageKey)
usageKey - the usageKey to set@Nullable public Integer getAcceptedUsageKey()
public void setAcceptedUsageKey(Integer acceptedUsageKey)
public boolean isSynonym()
public TaxonomicStatus getStatus()
public void setStatus(TaxonomicStatus status)
@Nullable public String getKingdom()
LinneanClassificationgetKingdom in interface LinneanClassificationpublic void setKingdom(String kingdom)
setKingdom in interface LinneanClassificationkingdom - the kingdom to set@Nullable public String getPhylum()
LinneanClassificationgetPhylum in interface LinneanClassificationpublic void setPhylum(String phylum)
setPhylum in interface LinneanClassificationphylum - the phylum to set@Nullable public String getClazz()
LinneanClassificationgetClazz in interface LinneanClassificationpublic void setClazz(String clazz)
setClazz in interface LinneanClassificationclazz - the clazz to set@Nullable public String getOrder()
LinneanClassificationgetOrder in interface LinneanClassificationpublic void setOrder(String order)
setOrder in interface LinneanClassificationorder - the order to set@Nullable public String getFamily()
LinneanClassificationgetFamily in interface LinneanClassificationpublic void setFamily(String family)
setFamily in interface LinneanClassificationfamily - the family to set@Nullable public String getGenus()
LinneanClassificationgetGenus in interface LinneanClassificationpublic void setGenus(String genus)
setGenus in interface LinneanClassificationgenus - the genus to set@Nullable public String getSubgenus()
LinneanClassificationgetSubgenus in interface LinneanClassificationpublic void setSubgenus(String subgenus)
setSubgenus in interface LinneanClassificationsubgenus - the subgenus canonical name@Nullable public String getSpecies()
LinneanClassificationgetSpecies in interface LinneanClassificationpublic void setSpecies(String species)
setSpecies in interface LinneanClassificationspecies - the species to set@Nullable public Integer getKingdomKey()
LinneanClassificationKeysgetKingdomKey in interface LinneanClassificationKeyspublic void setKingdomKey(Integer kingdomKey)
setKingdomKey in interface LinneanClassificationKeyskingdomKey - the kingdomKey to set@Nullable public Integer getPhylumKey()
LinneanClassificationKeysgetPhylumKey in interface LinneanClassificationKeyspublic void setPhylumKey(Integer phylumKey)
setPhylumKey in interface LinneanClassificationKeysphylumKey - the phylumKey to set@Nullable public Integer getClassKey()
LinneanClassificationKeysgetClassKey in interface LinneanClassificationKeyspublic void setClassKey(Integer classKey)
setClassKey in interface LinneanClassificationKeysclassKey - the classKey to set@Nullable public Integer getOrderKey()
LinneanClassificationKeysgetOrderKey in interface LinneanClassificationKeyspublic void setOrderKey(Integer orderKey)
setOrderKey in interface LinneanClassificationKeysorderKey - the orderKey to set@Nullable public Integer getFamilyKey()
LinneanClassificationKeysgetFamilyKey in interface LinneanClassificationKeyspublic void setFamilyKey(Integer familyKey)
setFamilyKey in interface LinneanClassificationKeysfamilyKey - the familyKey to set@Nullable public Integer getGenusKey()
LinneanClassificationKeysgetGenusKey in interface LinneanClassificationKeyspublic void setGenusKey(Integer genusKey)
setGenusKey in interface LinneanClassificationKeysgenusKey - the genusKey to set@Nullable public Integer getSubgenusKey()
LinneanClassificationKeysgetSubgenusKey in interface LinneanClassificationKeyspublic void setSubgenusKey(Integer subgenusKey)
setSubgenusKey in interface LinneanClassificationKeyssubgenusKey - the subgenus usage key@Nullable public Integer getSpeciesKey()
LinneanClassificationKeysgetSpeciesKey in interface LinneanClassificationKeyspublic void setSpeciesKey(Integer speciesKey)
setSpeciesKey in interface LinneanClassificationKeysspeciesKey - the speciesKey to set@Nullable public String getHigherRank(Rank rank)
LinneanClassificationgetHigherRank in interface LinneanClassificationrank - the higher linnean rank to retrievepublic Integer getHigherRankKey(Rank rank)
LinneanClassificationKeysgetHigherRankKey in interface LinneanClassificationKeysrank - the higher linnean rank to retrieve@Nullable public String getCanonicalName()
public void setCanonicalName(String canonicalName)
@Nullable public List<NameUsageMatch> getAlternatives()
public void setAlternatives(List<NameUsageMatch> alternatives)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.