public class NameUsageMetrics extends Object
Constructor and Description |
---|
NameUsageMetrics() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@NotNull Integer |
getKey()
Return the key that uniquely identifies this name usage.
|
Integer |
getNumByRank(Rank rank)
Gets the count of usages by a rank.
|
@Min(value=0L) int |
getNumChildren()
Returns the number of direct taxonomic elements under this usage.
|
@Min(value=0L) int |
getNumClass()
Returns the number of classes that are below this taxon.
|
int |
getNumDescendants()
The number of all accepted taxonomic elements under this usage.
|
@Min(value=0L) int |
getNumFamily()
Returns the number of families that are below this taxon.
|
@Min(value=0L) int |
getNumGenus()
Returns the number of genus that are below this taxon.
|
@Min(value=0L) int |
getNumOrder()
Returns the number of orders that are below this taxon.
|
@Min(value=0L) int |
getNumPhylum()
Returns the number of phyla that are below this taxon.
|
@Min(value=0L) int |
getNumSpecies()
Returns the number of species that are below this taxon.
|
@Min(value=0L) int |
getNumSubgenus()
Returns the number of distinct subgenera that are below this taxon.
|
@Min(value=0L) int |
getNumSynonyms()
Returns the number of related synonyms this usage possses.
|
int |
hashCode() |
void |
setKey(Integer key) |
void |
setNumChildren(int numChildren) |
void |
setNumClass(int numClass) |
void |
setNumDescendants(int numDescendants) |
void |
setNumFamily(int numFamily) |
void |
setNumGenus(int numGenus) |
void |
setNumOrder(int numOrder) |
void |
setNumPhylum(int numPhylum) |
void |
setNumSpecies(int numSpecies) |
void |
setNumSubgenus(int numSubgenus) |
void |
setNumSynonyms(int numSynonyms) |
String |
toString() |
public NameUsageMetrics()
@NotNull public @NotNull Integer getKey()
@Min(value=0L) public @Min(value=0L) int getNumChildren()
public void setNumChildren(int numChildren)
numChildren
- the numChildren to set@Min(value=0L) public @Min(value=0L) int getNumClass()
public void setNumClass(int numClass)
numClass
- the numClass to setpublic int getNumDescendants()
public void setNumDescendants(int numDescendants)
numDescendants
- the n umber of descendants to set@Min(value=0L) public @Min(value=0L) int getNumFamily()
public void setNumFamily(int numFamily)
numFamily
- the numFamily to set@Min(value=0L) public @Min(value=0L) int getNumGenus()
public void setNumGenus(int numGenus)
numGenus
- the numGenus to set@Min(value=0L) public @Min(value=0L) int getNumOrder()
public void setNumOrder(int numOrder)
numOrder
- the numOrder to set@Min(value=0L) public @Min(value=0L) int getNumPhylum()
public void setNumPhylum(int numPhylum)
numPhylum
- the numPhylum to set@Min(value=0L) public @Min(value=0L) int getNumSpecies()
public void setNumSpecies(int numSpecies)
numSpecies
- the numSpecies to set@Min(value=0L) public @Min(value=0L) int getNumSubgenus()
public void setNumSubgenus(int numSubgenus)
numSubgenus
- the number of distinct subgenera@Min(value=0L) public @Min(value=0L) int getNumSynonyms()
public void setNumSynonyms(int numSynonyms)
numSynonyms
- the numSynonyms to set@Nullable public Integer getNumByRank(Rank rank)
rank
- the linnean rank to retrieve counts forCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.