public class ParsedName extends Object
Modifier and Type | Field and Description |
---|---|
static Character |
HYBRID_MARKER |
Constructor and Description |
---|
ParsedName() |
ParsedName(NameType type,
String genusOrAbove,
String infraGeneric,
String specificEpithet,
String infraSpecificEpithet,
NamePart notho,
Rank rank,
String authorship,
String year,
String bracketAuthorship,
String bracketYear,
String cultivarEpithet,
String strain,
String sensu,
String nomStatus,
String remarks) |
Modifier and Type | Method and Description |
---|---|
String |
authorshipComplete() |
String |
buildName(boolean hybridMarker,
boolean rankMarker,
boolean authorship,
boolean infrageneric,
boolean genusForInfrageneric,
boolean abbreviateGenus,
boolean decomposition,
boolean asciiOnly,
boolean showIndet,
boolean nomNote,
boolean remarks,
boolean showSensu,
boolean showCultivar,
boolean showStrain)
build a name controlling all available flags for name parts to be included in the resulting name.
|
String |
canonicalName()
The canonical name sensu strictu with nothing else but 3 name parts at max (genus, species, infraspecific).
|
String |
canonicalNameComplete()
The code-compliant, canonical name with rank and hybrid marker, authorship and cultivar or strain name included.
|
String |
canonicalNameWithMarker()
The code-compliant, canonical name with three name parts at max (genus, species, infraspecific), a rank marker for
infraspecific names and cultivar or strain epithets.
|
String |
canonicalSpeciesName() |
boolean |
equals(Object o) |
String |
fullName() |
String |
getAuthorship()
The original author of this name, e.g.
|
String |
getBracketAuthorship()
The authorship of the original name, i.e.
|
String |
getBracketYear()
The code relevant year of publication of the original name, i.e.
|
Integer |
getBracketYearInt() |
String |
getCultivarEpithet()
The cultivar, cultivar group or grex part of a cultivated plant name.
|
String |
getGenusOrAbove()
The genus part of a bi/trinomial or the monomial in case of names of higher ranks
|
String |
getInfraGeneric()
The infrageneric part of a name, often given in parentheses between genus and species epithet, e.g.
|
String |
getInfraSpecificEpithet() |
Integer |
getKey() |
String |
getNomStatus()
Any nomenclatoral remarks given in this name, e.g.
|
NamePart |
getNotho()
For hybrid names notho indicates which part of the name is considered a hybrid,
i.e.
|
Rank |
getRank() |
String |
getRemarks()
Any further remarks found
|
String |
getScientificName()
The exact verbatim, full scientific name as given before parsing.
|
String |
getSensu()
Taxon concept references as part of the name,
e.g.
|
String |
getSpecificEpithet() |
String |
getStrain()
The strain or isolate name.
|
String |
getTerminalEpithet() |
NameType |
getType()
A coarse classification of names helping to deal with different syntactical name string structures.
|
String |
getYear()
The year of publication as given in the authorship.
|
Integer |
getYearInt() |
boolean |
hasAuthorship() |
int |
hashCode() |
boolean |
isAutonym() |
boolean |
isBinomial() |
boolean |
isHybridFormula() |
boolean |
isIndetermined() |
boolean |
isParsableType() |
boolean |
isParsed()
A flag indicating if a name could not be parsed at all.
|
boolean |
isParsedPartially()
The GBIF name parser cannot always parse the entire name.
|
boolean |
isQualified() |
boolean |
isRecombination() |
void |
setAuthorship(String authorship) |
void |
setBracketAuthorship(String bracketAuthorship) |
void |
setBracketYear(String bracketYear) |
void |
setCultivarEpithet(String cultivarEpithet) |
void |
setGenusOrAbove(String genusOrAbove) |
void |
setHybridFormula(boolean hybrid) |
void |
setInfraGeneric(String infraGeneric) |
void |
setInfraSpecificEpithet(String infraSpecies) |
void |
setKey(Integer key) |
void |
setNomStatus(String nomStatus) |
void |
setNotho(NamePart notho) |
void |
setParsed(boolean parsed) |
void |
setParsedPartially(boolean parsedPartially) |
void |
setRank(Rank rank) |
void |
setRemarks(String remarks) |
void |
setScientificName(String scientificName) |
void |
setSensu(String sensu) |
void |
setSpecificEpithet(String species) |
void |
setStrain(String strain) |
void |
setType(NameType type) |
void |
setYear(String year) |
String |
toString() |
public static final Character HYBRID_MARKER
public ParsedName()
public ParsedName(NameType type, String genusOrAbove, String infraGeneric, String specificEpithet, String infraSpecificEpithet, NamePart notho, Rank rank, String authorship, String year, String bracketAuthorship, String bracketYear, String cultivarEpithet, String strain, String sensu, String nomStatus, String remarks)
public String getAuthorship()
public void setAuthorship(String authorship)
public String getBracketAuthorship()
public void setBracketAuthorship(String bracketAuthorship)
public String getBracketYear()
public void setBracketYear(String bracketYear)
public String getCultivarEpithet()
public void setCultivarEpithet(String cultivarEpithet)
public String getStrain()
public String getGenusOrAbove()
public String getInfraGeneric()
public String getInfraSpecificEpithet()
public String getNomStatus()
public void setNomStatus(String nomStatus)
public NamePart getNotho()
public String getRemarks()
public void setRemarks(String remarks)
public String getSensu()
public String getSpecificEpithet()
public String getTerminalEpithet()
public NameType getType()
public boolean hasAuthorship()
public String getScientificName()
public void setScientificName(String scientificName)
public boolean isParsedPartially()
public void setParsedPartially(boolean parsedPartially)
public boolean isParsed()
public void setParsed(boolean parsed)
public String authorshipComplete()
public String buildName(boolean hybridMarker, boolean rankMarker, boolean authorship, boolean infrageneric, boolean genusForInfrageneric, boolean abbreviateGenus, boolean decomposition, boolean asciiOnly, boolean showIndet, boolean nomNote, boolean remarks, boolean showSensu, boolean showCultivar, boolean showStrain)
hybridMarker
- include the hybrid marker with the name if existingrankMarker
- include the infraspecific or infrageneric rank marker with the name if existingauthorship
- include the names authorship (authorteam and year)infrageneric
- include the infrageneric name in brackets for species or infraspeciesgenusForInfrageneric
- include the genus name in front of an infrageneric name (not a species)abbreviateGenus
- if true abreviate the genus with its first characterdecomposition
- decompose unicode ligatures into their corresponding ascii ones, e.g. æ beomes aeasciiOnly
- transform unicode letters into their corresponding ascii ones, e.g. ø beomes o and ü ushowIndet
- if true include the rank marker for incomplete determinations, for example Puma spec.nomNote
- include nomenclatural notesremarks
- include informal remarkspublic String canonicalName()
public String canonicalNameWithMarker()
public String canonicalNameComplete()
public String canonicalSpeciesName()
public Integer getBracketYearInt()
public Integer getYearInt()
public boolean isAutonym()
public boolean isBinomial()
public boolean isHybridFormula()
public boolean isIndetermined()
public boolean isParsableType()
public boolean isQualified()
public boolean isRecombination()
public void setGenusOrAbove(String genusOrAbove)
public void setHybridFormula(boolean hybrid)
public void setInfraGeneric(String infraGeneric)
public void setInfraSpecificEpithet(String infraSpecies)
public void setSpecificEpithet(String species)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.