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()
LinneanClassification
getKingdom
in interface LinneanClassification
public void setKingdom(String kingdom)
setKingdom
in interface LinneanClassification
kingdom
- the kingdom to set@Nullable public String getPhylum()
LinneanClassification
getPhylum
in interface LinneanClassification
public void setPhylum(String phylum)
setPhylum
in interface LinneanClassification
phylum
- the phylum to set@Nullable public String getClazz()
LinneanClassification
getClazz
in interface LinneanClassification
public void setClazz(String clazz)
setClazz
in interface LinneanClassification
clazz
- the clazz to set@Nullable public String getOrder()
LinneanClassification
getOrder
in interface LinneanClassification
public void setOrder(String order)
setOrder
in interface LinneanClassification
order
- the order to set@Nullable public String getFamily()
LinneanClassification
getFamily
in interface LinneanClassification
public void setFamily(String family)
setFamily
in interface LinneanClassification
family
- the family to set@Nullable public String getGenus()
LinneanClassification
getGenus
in interface LinneanClassification
public void setGenus(String genus)
setGenus
in interface LinneanClassification
genus
- the genus to set@Nullable public String getSubgenus()
LinneanClassification
getSubgenus
in interface LinneanClassification
public void setSubgenus(String subgenus)
setSubgenus
in interface LinneanClassification
subgenus
- the subgenus canonical name@Nullable public String getSpecies()
LinneanClassification
getSpecies
in interface LinneanClassification
public void setSpecies(String species)
setSpecies
in interface LinneanClassification
species
- the species to set@Nullable public Integer getKingdomKey()
LinneanClassificationKeys
getKingdomKey
in interface LinneanClassificationKeys
public void setKingdomKey(Integer kingdomKey)
setKingdomKey
in interface LinneanClassificationKeys
kingdomKey
- the kingdomKey to set@Nullable public Integer getPhylumKey()
LinneanClassificationKeys
getPhylumKey
in interface LinneanClassificationKeys
public void setPhylumKey(Integer phylumKey)
setPhylumKey
in interface LinneanClassificationKeys
phylumKey
- the phylumKey to set@Nullable public Integer getClassKey()
LinneanClassificationKeys
getClassKey
in interface LinneanClassificationKeys
public void setClassKey(Integer classKey)
setClassKey
in interface LinneanClassificationKeys
classKey
- the classKey to set@Nullable public Integer getOrderKey()
LinneanClassificationKeys
getOrderKey
in interface LinneanClassificationKeys
public void setOrderKey(Integer orderKey)
setOrderKey
in interface LinneanClassificationKeys
orderKey
- the orderKey to set@Nullable public Integer getFamilyKey()
LinneanClassificationKeys
getFamilyKey
in interface LinneanClassificationKeys
public void setFamilyKey(Integer familyKey)
setFamilyKey
in interface LinneanClassificationKeys
familyKey
- the familyKey to set@Nullable public Integer getGenusKey()
LinneanClassificationKeys
getGenusKey
in interface LinneanClassificationKeys
public void setGenusKey(Integer genusKey)
setGenusKey
in interface LinneanClassificationKeys
genusKey
- the genusKey to set@Nullable public Integer getSubgenusKey()
LinneanClassificationKeys
getSubgenusKey
in interface LinneanClassificationKeys
public void setSubgenusKey(Integer subgenusKey)
setSubgenusKey
in interface LinneanClassificationKeys
subgenusKey
- the subgenus usage key@Nullable public Integer getSpeciesKey()
LinneanClassificationKeys
getSpeciesKey
in interface LinneanClassificationKeys
public void setSpeciesKey(Integer speciesKey)
setSpeciesKey
in interface LinneanClassificationKeys
speciesKey
- the speciesKey to set@Nullable public String getHigherRank(Rank rank)
LinneanClassification
getHigherRank
in interface LinneanClassification
rank
- the higher linnean rank to retrievepublic Integer getHigherRankKey(Rank rank)
LinneanClassificationKeys
getHigherRankKey
in interface LinneanClassificationKeys
rank
- 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.