|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.etaxonomy.cdm.model.common.CdmBase
eu.etaxonomy.cdm.model.common.VersionableEntity
eu.etaxonomy.cdm.model.common.AnnotatableEntity
eu.etaxonomy.cdm.model.common.IdentifiableEntity<S>
eu.etaxonomy.cdm.model.name.TaxonNameBase<T,INonViralNameCacheStrategy>
eu.etaxonomy.cdm.model.name.NonViralName<T>
@Entity @Indexed(index="eu.etaxonomy.cdm.model.name.TaxonNameBase") @Configurable @CorrectEpithetsForRank(groups=Level2.class) @MustHaveAuthority(groups=Level2.class) @NoDuplicateNames(groups=Level3.class) public class NonViralName<T extends NonViralName>
The taxon name class for all non viral taxa. Parenthetical authorship is derived
from basionym relationship. The scientific name including author strings and
maybe year can be stored as a string in the inherited titleCache attribute.
The year itself is an information obtained from the nomenclatural reference.
The scientific name string without author strings and year can be stored in the nameCache attribute.
This class corresponds partially to:
| Field Summary | |
|---|---|
protected boolean |
protectedAuthorshipCache
|
protected boolean |
protectedNameCache
|
| Fields inherited from class eu.etaxonomy.cdm.model.name.TaxonNameBase |
|---|
fullTitleCache |
| Fields inherited from class eu.etaxonomy.cdm.model.common.IdentifiableEntity |
|---|
cacheStrategy, NOT_PROTECTED, PROTECTED, protectedTitleCache, titleCache |
| Fields inherited from class eu.etaxonomy.cdm.model.common.AnnotatableEntity |
|---|
annotations, markers |
| Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
|---|
uuid |
| Constructor Summary | |
|---|---|
protected |
NonViralName()
Class constructor: creates a new non viral taxon name instance only containing the default cache strategy. |
protected |
NonViralName(Rank rank,
HomotypicalGroup homotypicalGroup)
Class constructor: creates a new non viral taxon name instance only containing its rank,
its homotypical group and
the default cache strategy. |
protected |
NonViralName(Rank rank,
String genusOrUninomial,
String infraGenericEpithet,
String specificEpithet,
String infraSpecificEpithet,
TeamOrPersonBase combinationAuthorTeam,
INomenclaturalReference nomenclaturalReference,
String nomenclMicroRef,
HomotypicalGroup homotypicalGroup)
Class constructor: creates a new non viral taxon name instance containing its rank,
its homotypical group,
its scientific name components, its author(team),
its nomenclatural reference and
the default cache strategy. |
| Method Summary | |
|---|---|
HybridRelationship |
addHybridChild(NonViralName childName,
HybridRelationshipType type,
String ruleConsidered)
Creates a new hybrid relationship
to this botanical name. |
HybridRelationship |
addHybridParent(NonViralName parentName,
HybridRelationshipType type,
String ruleConsidered)
Creates a new hybrid relationship
to this botanical name. |
protected void |
addHybridRelationship(HybridRelationship rel)
Adds the given hybrid relationship to the set
of hybrid relationships of both non-viral names
involved in this hybrid relationship. |
void |
addRelationship(RelationshipBase relation)
Deprecated. to be used by RelationshipBase only |
Object |
clone()
Clones this non-viral name. |
String |
computeBasionymAuthorNomenclaturalTitle()
Shortcut. |
String |
computeCombinationAuthorNomenclaturalTitle()
Shortcut. |
String |
computeExBasionymAuthorNomenclaturalTitle()
Shortcut. |
String |
computeExCombinationAuthorNomenclaturalTitle()
Shortcut. |
String |
generateAuthorship()
Generates and returns a concatenated and formated authorteams string including basionym and combination authors of this non viral taxon name according to the strategy defined in INonViralNameCacheStrategy. |
String |
generateFullTitle()
Generates and returns the string with the scientific name of this non viral taxon name including author strings and maybe year according to the strategy defined in INonViralNameCacheStrategy. |
protected String |
generateNameCache()
Generates the composed name string of this non viral taxon name without author strings or year according to the strategy defined in INonViralNameCacheStrategy. |
protected Map<String,Field> |
getAllFields()
|
String |
getAuthorshipCache()
Returns the concatenated and formated authorteams string including basionym and combination authors of this non viral taxon name. |
INomenclaturalAuthor |
getBasionymAuthorTeam()
Returns the author (team) that published the original combination
on which this non viral taxon name is nomenclaturally based. |
Set<HybridRelationship> |
getChildRelationships()
Deprecated. use getHybridChildRelations() instead. Will be removed in higher versions. |
INomenclaturalAuthor |
getCombinationAuthorTeam()
Returns the author (team) that published this non viral
taxon name. |
INomenclaturalAuthor |
getExBasionymAuthorTeam()
Returns the author (team) that contributed to
the publication of the original combination this non viral taxon name is
based on. |
INomenclaturalAuthor |
getExCombinationAuthorTeam()
Returns the author (team) that contributed to
the publication of this non viral taxon name as generally stated by
the combination author (team) itself.An ex-author(-team) is an author(-team) to whom a taxon name was ascribed although it is not the author(-team) of a valid publication (for instance without the validating description or diagnosis in case of a name for a new taxon). |
String |
getFullTitleCache()
|
String |
getGenusOrUninomial()
Returns either the scientific name string (without authorship) for this non viral taxon name if its rank is genus or higher (monomial) or the string for the genus part of it if its rank is lower than genus (bi- or trinomial). |
Set<HybridRelationship> |
getHybridChildRelations()
Returns the set of all hybrid relationships
in which this taxon name is involved as a child. |
Set<HybridRelationship> |
getHybridParentRelations()
Returns the set of all hybrid relationships
in which this taxon name is involved as a parent. |
String |
getInfraGenericEpithet()
Returns the genus subdivision epithet string (infrageneric part) for this non viral taxon name if its rank is infrageneric (lower than genus and
higher than species aggregate: binomial). |
String |
getInfraSpecificEpithet()
Returns the species subdivision epithet string (infraspecific part) for this non viral taxon name if its rank is infraspecific
(lower than species: trinomial). |
String |
getNameCache()
Returns or generates the nameCache (scientific name without author strings and year) string for this non viral taxon name. |
NomenclaturalCode |
getNomenclaturalCode()
Returns null as nomenclatural code that governs
the construction of this non viral taxon name since there is no specific
nomenclatural code defined. |
List<HybridRelationship> |
getOrderedChildRelationships()
Returns the hybrid child relationships ordered by relationship type, or if equal by title cache of the related names. |
Set<HybridRelationship> |
getParentRelationships()
Deprecated. use getHybridParentRelations() instead. Will be removed in higher versions. |
String |
getSpecificEpithet()
Returns the species epithet string for this non viral taxon name if its rank is
species aggregate or lower (bi- or trinomial). |
String |
getTitleCache()
|
boolean |
hasAuthors()
Tests if the given name has any authors. |
protected void |
initListener()
|
boolean |
isAutonym()
Needs to be implemented by those classes that handle autonyms (e.g. |
boolean |
isBinomHybrid()
Returns the boolean value of the flag indicating whether this botanical taxon name is the name of an interspecific hybrid (true) or not (false). |
boolean |
isCodeCompliant()
Returns the boolean value "false" since the components of this taxon name cannot follow the rules of a corresponding nomenclatural code
which is not defined for this class. |
boolean |
isHybridFormula()
Returns the boolean value of the flag indicating whether the name of this botanical taxon name is a hybrid formula (true) or not (false). |
boolean |
isMonomHybrid()
Returns the boolean value of the flag indicating whether this botanical taxon name is the name of an intergeneric hybrid (true) or not (false). |
boolean |
isProtectedAuthorshipCache()
Returns the boolean value of the flag intended to protect (true) or not (false) the authorshipCache (complete authorship string)
of this non viral taxon name. |
boolean |
isProtectedNameCache()
Returns the boolean value of the flag intended to protect (true) or not (false) the nameCache (scientific name without author strings and year)
string of this non viral taxon name. |
boolean |
isTrinomHybrid()
Returns the boolean value of the flag indicating whether this botanical taxon name is the name of an infraspecific hybrid (true) or not (false). |
static NonViralName |
NewInstance(Rank rank)
Creates a new non viral taxon name instance only containing its rank and
the default cache strategy. |
static NonViralName |
NewInstance(Rank rank,
HomotypicalGroup homotypicalGroup)
Creates a new non viral taxon name instance only containing its rank,
its homotypical group and
the default cache strategy. |
void |
removeHybridChild(NonViralName child)
|
void |
removeHybridParent(NonViralName parent)
|
void |
removeHybridRelationship(HybridRelationship hybridRelation)
Removes one hybrid relationship from the set of
hybrid relationships in which this botanical taxon name
is involved. |
void |
setAuthorshipCache(String authorshipCache)
Assigns an authorshipCache string to this non viral taxon name. |
void |
setAuthorshipCache(String authorshipCache,
boolean protectedAuthorshipCache)
Assigns an authorshipCache string to this non viral taxon name. |
void |
setBasionymAuthorTeam(INomenclaturalAuthor basionymAuthorTeam)
|
void |
setBinomHybrid(boolean binomHybrid)
|
void |
setCombinationAuthorTeam(INomenclaturalAuthor combinationAuthorTeam)
|
void |
setExBasionymAuthorTeam(INomenclaturalAuthor exBasionymAuthorTeam)
|
void |
setExCombinationAuthorTeam(INomenclaturalAuthor exCombinationAuthorTeam)
|
void |
setGenusOrUninomial(String genusOrUninomial)
|
void |
setHybridFormula(boolean hybridFormula)
|
void |
setInfraGenericEpithet(String infraGenericEpithet)
|
void |
setInfraSpecificEpithet(String infraSpecificEpithet)
|
void |
setMonomHybrid(boolean monomHybrid)
|
void |
setNameCache(String nameCache)
Assigns a nameCache string to this non viral taxon name and protects it from being overwritten. |
void |
setNameCache(String nameCache,
boolean protectedNameCache)
Assigns a nameCache string to this non viral taxon name and protects it from being overwritten. |
void |
setProtectedAuthorshipCache(boolean protectedAuthorshipCache)
|
void |
setProtectedNameCache(boolean protectedNameCache)
|
void |
setSpecificEpithet(String specificEpithet)
|
void |
setTitleCache(String titleCache,
boolean protectCache)
|
void |
setTrinomHybrid(boolean trinomHybrid)
|
| Methods inherited from class eu.etaxonomy.cdm.model.common.IdentifiableEntity |
|---|
addCredit, addCredit, addExtension, addExtension, addRights, addSource, addSource, compareTo, generateTitle, getCacheStrategy, getCredits, getCredits, getData, getExtensions, getExtensions, getExtensions, getLsid, getRights, getSources, getTruncatedCache, isProtectedTitleCache, regenerateTitleCache, removeCredit, removeCredit, removeExtension, removeRights, removeSource, setCacheStrategy, setLsid, setProtectedTitleCache, setTitleCache, toString |
| Methods inherited from class eu.etaxonomy.cdm.model.common.AnnotatableEntity |
|---|
addAnnotation, addMarker, getAnnotations, getMarkers, hasMarker, hasMarker, removeAnnotation, removeMarker |
| Methods inherited from class eu.etaxonomy.cdm.model.common.VersionableEntity |
|---|
equals, getUpdated, getUpdatedBy, setUpdated, setUpdatedBy |
| Methods inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
|---|
addPropertyChangeListener, addPropertyChangeListener, clone, deproxy, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUuid, hashCode, hasListeners, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isInstanceOf, removePropertyChangeListener, removePropertyChangeListener, setCreated, setCreatedBy, setId, setUuid |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface eu.etaxonomy.cdm.model.common.IRelated |
|---|
getUuid |
| Methods inherited from interface eu.etaxonomy.cdm.model.common.ICdmBase |
|---|
getCreated, getCreatedBy, getId, getUuid, setCreated, setCreatedBy, setId, setUuid |
| Methods inherited from interface eu.etaxonomy.cdm.model.common.IAnnotatableEntity |
|---|
addAnnotation, addMarker, getAnnotations, getMarkers, hasMarker, hasMarker, removeAnnotation, removeMarker |
| Methods inherited from interface eu.etaxonomy.cdm.model.common.IVersionableEntity |
|---|
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy |
| Field Detail |
|---|
protected boolean protectedNameCache
protected boolean protectedAuthorshipCache
| Constructor Detail |
|---|
protected NonViralName()
default cache strategy.
NonViralName(Rank, HomotypicalGroup),
#NonViralName(Rank, String, String, String, String, TeamOrPersonBase, Reference, String, HomotypicalGroup),
INonViralNameCacheStrategy,
INameCacheStrategy,
IIdentifiableEntityCacheStrategy
protected NonViralName(Rank rank,
HomotypicalGroup homotypicalGroup)
rank,
its homotypical group and
the default cache strategy.
The new non viral taxon name instance will be also added to the set of
non viral taxon names belonging to this homotypical group.
rank - the rank to be assigned to this non viral taxon namehomotypicalGroup - the homotypical group to which this non viral taxon name belongsNonViralName(),
#NonViralName(Rank, String, String, String, String, TeamOrPersonBase, Reference, String, HomotypicalGroup),
NewInstance(Rank, HomotypicalGroup),
INonViralNameCacheStrategy,
INameCacheStrategy,
IIdentifiableEntityCacheStrategy
protected NonViralName(Rank rank,
String genusOrUninomial,
String infraGenericEpithet,
String specificEpithet,
String infraSpecificEpithet,
TeamOrPersonBase combinationAuthorTeam,
INomenclaturalReference nomenclaturalReference,
String nomenclMicroRef,
HomotypicalGroup homotypicalGroup)
rank,
its homotypical group,
its scientific name components, its author(team),
its nomenclatural reference and
the default cache strategy.
The new non viral taxon name instance will be also added to the set of
non viral taxon names belonging to this homotypical group.
rank - the rank to be assigned to this non viral taxon namegenusOrUninomial - the string for this non viral taxon name
if its rank is genus or higher or for the genus part
if its rank is lower than genusinfraGenericEpithet - the string for the first epithet of
this non viral taxon name if its rank is lower than genus
and higher than species aggregatespecificEpithet - the string for the first epithet of
this non viral taxon name if its rank is species aggregate or lowerinfraSpecificEpithet - the string for the second epithet of
this non viral taxon name if its rank is lower than speciescombinationAuthorTeam - the author or the team who published this non viral taxon namenomenclaturalReference - the nomenclatural reference where this non viral taxon name was publishednomenclMicroRef - the string with the details for precise location within the nomenclatural referencehomotypicalGroup - the homotypical group to which this non viral taxon name belongsNonViralName(),
NonViralName(Rank, HomotypicalGroup),
NewInstance(Rank, HomotypicalGroup),
INonViralNameCacheStrategy,
INameCacheStrategy,
IIdentifiableEntityCacheStrategy| Method Detail |
|---|
public static NonViralName NewInstance(Rank rank)
rank and
the default cache strategy.
rank - the rank to be assigned to this non viral taxon nameNewInstance(Rank, HomotypicalGroup),
NonViralName(Rank, HomotypicalGroup),
NonViralName(),
#NonViralName(Rank, String, String, String, String, TeamOrPersonBase, Reference, String, HomotypicalGroup),
INonViralNameCacheStrategy,
INameCacheStrategy,
IIdentifiableEntityCacheStrategy
public static NonViralName NewInstance(Rank rank,
HomotypicalGroup homotypicalGroup)
rank,
its homotypical group and
the default cache strategy.
The new non viral taxon name instance will be also added to the set of
non viral taxon names belonging to this homotypical group.
rank - the rank to be assigned to this non viral taxon namehomotypicalGroup - the homotypical group to which this non viral taxon name belongsNewInstance(Rank),
NonViralName(Rank, HomotypicalGroup),
NonViralName(),
#NonViralName(Rank, String, String, String, String, TeamOrPersonBase, Reference, String, HomotypicalGroup),
INonViralNameCacheStrategy,
INameCacheStrategy,
IIdentifiableEntityCacheStrategyprotected void initListener()
initListener in class IdentifiableEntity<INonViralNameCacheStrategy>protected Map<String,Field> getAllFields()
getAllFields in class TaxonNameBase<T extends NonViralName,INonViralNameCacheStrategy>public INomenclaturalAuthor getCombinationAuthorTeam()
author (team) that published this non viral
taxon name.
INomenclaturalAuthor,
TeamOrPersonBase.getNomenclaturalTitle()public void setCombinationAuthorTeam(INomenclaturalAuthor combinationAuthorTeam)
getCombinationAuthorTeam()public INomenclaturalAuthor getExCombinationAuthorTeam()
author (team) that contributed to
the publication of this non viral taxon name as generally stated by
the combination author (team) itself.The presence of an author (team) of this non viral taxon name is a condition for the existence of an ex author (team) for this same name.
getCombinationAuthorTeam(),
INomenclaturalAuthor,
TeamOrPersonBase.getNomenclaturalTitle()public void setExCombinationAuthorTeam(INomenclaturalAuthor exCombinationAuthorTeam)
getExCombinationAuthorTeam()public INomenclaturalAuthor getBasionymAuthorTeam()
author (team) that published the original combination
on which this non viral taxon name is nomenclaturally based. Such an
author (team) can only exist if this non viral taxon name is a new
combination due to a taxonomical revision.
getCombinationAuthorTeam(),
INomenclaturalAuthor,
TeamOrPersonBase.getNomenclaturalTitle()public void setBasionymAuthorTeam(INomenclaturalAuthor basionymAuthorTeam)
getBasionymAuthorTeam()public INomenclaturalAuthor getExBasionymAuthorTeam()
author (team) that contributed to
the publication of the original combination this non viral taxon name is
based on. This should have been generally stated by
the basionym author (team) itself.
The presence of a basionym author (team) of this non viral taxon name is a
condition for the existence of an ex basionym author (team)
for this same name.
getBasionymAuthorTeam(),
getExCombinationAuthorTeam(),
getCombinationAuthorTeam(),
INomenclaturalAuthor,
TeamOrPersonBase.getNomenclaturalTitle()public void setExBasionymAuthorTeam(INomenclaturalAuthor exBasionymAuthorTeam)
getExBasionymAuthorTeam()public String getGenusOrUninomial()
rank is lower than genus (bi- or trinomial).
Genus or uninomial strings begin with an upper case letter.
getNameCache()public void setGenusOrUninomial(String genusOrUninomial)
getGenusOrUninomial()public String getInfraGenericEpithet()
rank is infrageneric (lower than genus and
higher than species aggregate: binomial). Genus subdivision epithet
strings begin with an upper case letter.
getNameCache()public void setInfraGenericEpithet(String infraGenericEpithet)
getInfraGenericEpithet()public String getSpecificEpithet()
rank is
species aggregate or lower (bi- or trinomial). Species epithet strings
begin with a lower case letter.
getNameCache()public void setSpecificEpithet(String specificEpithet)
getSpecificEpithet()public String getInfraSpecificEpithet()
rank is infraspecific
(lower than species: trinomial). Species subdivision epithet strings
begin with a lower case letter.
getNameCache()public void setInfraSpecificEpithet(String infraSpecificEpithet)
getInfraSpecificEpithet()public String generateFullTitle()
INonViralNameCacheStrategy.
This string may be stored in the inherited
titleCache attribute.
This method overrides the generic and inherited
TaxonNameBase#generateTitle() method.
generateFullTitle in class TaxonNameBase<T extends NonViralName,INonViralNameCacheStrategy>IdentifiableEntity.generateTitle(),
IdentifiableEntity.getTitleCache(),
IdentifiableEntity.generateTitle()protected String generateNameCache()
INonViralNameCacheStrategy.
The result might be stored in nameCache if the
flag protectedNameCache is not set.
getNameCache()public String getNameCache()
protectedNameCache flag is not set (False)
the string will be generated according to a defined strategy,
otherwise the value of the actual nameCache string will be returned.
generateNameCache()public void setNameCache(String nameCache)
true.
nameCache - the string which identifies this non viral taxon name (without authors or year)getNameCache()
public void setNameCache(String nameCache,
boolean protectedNameCache)
true.
nameCache - the string which identifies this non viral taxon name (without authors or year)protectedNameCache - if true teh protectedNameCache is set to true or otherwise set to
falsegetNameCache()public boolean isProtectedNameCache()
nameCache (scientific name without author strings and year)
string of this non viral taxon name.
getNameCache()public void setProtectedNameCache(boolean protectedNameCache)
isProtectedNameCache()public String generateAuthorship()
INonViralNameCacheStrategy.
INonViralNameCacheStrategy.getAuthorshipCache(NonViralName)public String getAuthorshipCache()
generateAuthorship()public void setAuthorshipCache(String authorshipCache)
true.
authorshipCache - the string which identifies the complete authorship of this non viral taxon namegetAuthorshipCache()public String getFullTitleCache()
getFullTitleCache in class TaxonNameBase<T extends NonViralName,INonViralNameCacheStrategy>public String getTitleCache()
getTitleCache in interface IIdentifiableEntitygetTitleCache in class IdentifiableEntity<INonViralNameCacheStrategy>
public void setAuthorshipCache(String authorshipCache,
boolean protectedAuthorshipCache)
authorshipCache - the string which identifies the complete authorship of this non viral taxon nameprotectedAuthorshipCache - if true the isProtectedAuthorshipCache flag is set to true, otherwise
the flag is set to false.getAuthorshipCache()
public void setTitleCache(String titleCache,
boolean protectCache)
setTitleCache in interface IIdentifiableEntitysetTitleCache in class IdentifiableEntity<INonViralNameCacheStrategy>public boolean isCodeCompliant()
nomenclatural code
which is not defined for this class. The nomenclature code depends on
the concrete name subclass (BacterialName,
BotanicalName, CultivarPlantName or
ZoologicalName to which this non viral taxon name belongs.
This method overrides the isCodeCompliant method from the abstract
TaxonNameBase class.
isCodeCompliant in class TaxonNameBase<T extends NonViralName,INonViralNameCacheStrategy>TaxonNameBase.isCodeCompliant()public NomenclaturalCode getNomenclaturalCode()
nomenclatural code that governs
the construction of this non viral taxon name since there is no specific
nomenclatural code defined. The real implementention takes place in the
subclasses BacterialName,
BotanicalName, CultivarPlantName and
ZoologicalName.
This method overrides the getNomeclaturalCode method from TaxonNameBase.
getNomenclaturalCode in class TaxonNameBase<T extends NonViralName,INonViralNameCacheStrategy>isCodeCompliant(),
TaxonNameBase#getHasProblem()public boolean isProtectedAuthorshipCache()
authorshipCache (complete authorship string)
of this non viral taxon name.
getAuthorshipCache()public void setProtectedAuthorshipCache(boolean protectedAuthorshipCache)
isProtectedAuthorshipCache(),
getAuthorshipCache()public boolean isHybridFormula()
autorship
nor other name components. If this flag is set no other hybrid flags may
be set.
isMonomHybrid(),
isBinomHybrid(),
isTrinomHybrid()public void setHybridFormula(boolean hybridFormula)
isHybridFormula()public boolean isMonomHybrid()
isHybridFormula(),
isBinomHybrid(),
isTrinomHybrid()public void setMonomHybrid(boolean monomHybrid)
isMonomHybrid(),
isBinomHybrid(),
isTrinomHybrid()public boolean isBinomHybrid()
isHybridFormula(),
isMonomHybrid(),
isTrinomHybrid()public void setBinomHybrid(boolean binomHybrid)
isBinomHybrid(),
isMonomHybrid(),
isTrinomHybrid()public boolean isTrinomHybrid()
isHybridFormula(),
isMonomHybrid(),
isBinomHybrid()public void setTrinomHybrid(boolean trinomHybrid)
isTrinomHybrid(),
isBinomHybrid(),
isMonomHybrid()public Set<HybridRelationship> getHybridParentRelations()
hybrid relationships
in which this taxon name is involved as a parent.
#getHybridRelationships(),
getChildRelationships(),
HybridRelationshipTypepublic Set<HybridRelationship> getHybridChildRelations()
hybrid relationships
in which this taxon name is involved as a child.
#getHybridRelationships(),
getParentRelationships(),
HybridRelationshipType@Deprecated public Set<HybridRelationship> getParentRelationships()
getHybridParentRelations() instead. Will be removed in higher versions.
hybrid relationships
in which this taxon name is involved as a parent.
getHybridParentRelations(),
#getHybridRelationships(),
getChildRelationships(),
HybridRelationshipTypepublic List<HybridRelationship> getOrderedChildRelationships()
getHybridParentRelations()@Deprecated public Set<HybridRelationship> getChildRelationships()
getHybridChildRelations() instead. Will be removed in higher versions.
getHybridChildRelations()protected void addHybridRelationship(HybridRelationship rel)
hybrid relationship to the set
of hybrid relationships of both non-viral names
involved in this hybrid relationship. One of both non-viral names
must be this non-viral name otherwise no addition will be carried
out. The child
non viral taxon name must be a hybrid, which means that one of its four hybrid flags must be set.
relationship - the hybrid relationship to be added
IllegalArgumentExceptionisHybridFormula(),
isMonomHybrid(),
isBinomHybrid(),
isTrinomHybrid(),
#getHybridRelationships(),
getParentRelationships(),
getChildRelationships(),
addRelationship(RelationshipBase)@Deprecated public void addRelationship(RelationshipBase relation)
relation is also a hybrid relationship.
Otherwise this method does the same as the overwritten addRelationship
method from TaxonNameBase.
addRelationship in interface IRelatedaddRelationship in class TaxonNameBase<T extends NonViralName,INonViralNameCacheStrategy>relation - the relationship to be added to some of this taxon name's relationships setsaddHybridRelationship(HybridRelationship),
TaxonNameBase.addRelationship(RelationshipBase),
TaxonNameBase.addNameRelationship(NameRelationship)
public HybridRelationship addHybridParent(NonViralName parentName,
HybridRelationshipType type,
String ruleConsidered)
hybrid relationship
to this botanical name. A HybridRelationship may be of type
"is first/second parent" or "is male/female parent". By invoking this
method this botanical name becomes a hybrid child of the parent
botanical name.
parentName - the botanical name of the parent for this new hybrid name relationshiptype - the type of this new name relationshipruleConsidered - the string which specifies the rule on which this name relationship is based
#addHybridChild(BotanicalName, HybridRelationshipType,String ),
TaxonNameBase.getRelationsToThisName(),
TaxonNameBase.getNameRelations(),
TaxonNameBase.addRelationshipFromName(TaxonNameBase, NameRelationshipType, String),
TaxonNameBase.addNameRelationship(NameRelationship)
public HybridRelationship addHybridChild(NonViralName childName,
HybridRelationshipType type,
String ruleConsidered)
hybrid relationship
to this botanical name. A HybridRelationship may be of type
"is first/second parent" or "is male/female parent". By invoking this
method this botanical name becomes a parent of the hybrid child
botanical name.
childName - the botanical name of the child for this new hybrid name relationshiptype - the type of this new name relationshipruleConsidered - the string which specifies the rule on which this name relationship is based
#addHybridParent(BotanicalName, HybridRelationshipType,String ),
TaxonNameBase.getRelationsToThisName(),
TaxonNameBase.getNameRelations(),
TaxonNameBase.addRelationshipFromName(TaxonNameBase, NameRelationshipType, String),
TaxonNameBase.addNameRelationship(NameRelationship)public void removeHybridRelationship(HybridRelationship hybridRelation)
hybrid relationship from the set of
hybrid relationships in which this botanical taxon name
is involved. The hybrid relationship will also be removed from the set
belonging to the second botanical taxon name involved.
relationship - the hybrid relationship which should be deleted from the corresponding sets#getHybridRelationships()public void removeHybridChild(NonViralName child)
public void removeHybridParent(NonViralName parent)
public boolean isAutonym()
public boolean hasAuthors()
public String computeCombinationAuthorNomenclaturalTitle()
public String computeBasionymAuthorNomenclaturalTitle()
public String computeExCombinationAuthorNomenclaturalTitle()
public String computeExBasionymAuthorNomenclaturalTitle()
public Object clone()
clone in class TaxonNameBase<T extends NonViralName,INonViralNameCacheStrategy>TaxonNameBase.clone(),
Object.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||