@Entity public class HomotypicalGroup extends AnnotatableEntity
taxon names
associated
on the base of their typifications. Since it can be asserted that two taxon
names are typified by the same type without mentioning the type itself, even
taxon names without explicit type designation
can belong
to an homotypical group.specimens
used as types for their
type designations
have the following properties: TypeDesignationBase
,
NameTypeDesignation
,
SpecimenTypeDesignation
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.util.Set<TaxonName> |
typifiedNames |
annotations, markers
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
HomotypicalGroup()
Class constructor: creates a new homotypical group instance with an
empty set of typified
taxon names . |
Modifier and Type | Method and Description |
---|---|
void |
addTypifiedName(TaxonName typifiedName)
Adds a new
taxon name to the set of taxon names that belong
to this homotypical group. |
java.util.Set<NameRelationship> |
getBasionymAndReplacedSynonymRelations()
Returns the name relationships that represent either a basionym (original combination) relationship or
a replaced synonym relationship.
|
java.util.Set<TaxonName> |
getBasionyms()
Returns all taxon names in the homotypical group that have a 'is_basionym_for' (zool.: 'is_original_combination_for') relationship.
|
java.util.Set<TaxonName> |
getBasionymsOrReplacedSynonyms()
Returns all taxon names in the homotypical group that have an 'is_basionym_for' (zool.: 'is_original_combination_for')
or a replaced synonym relationship.
|
java.util.Set<NameTypeDesignation> |
getNameTypeDesignations()
Returns the set of
name type designations that
typify the taxon names belonging to this homotypical group
including the status of these designations. |
java.util.Set<TaxonName> |
getNewCombinations()
Returns all taxon names in the homotypical group that are new combinations (have a basionym/original combination
or a replaced synonym).
|
java.util.Set<TaxonName> |
getReplacedSynonym()
Returns all taxon names in the homotypical group that have a 'is_replaced_synonym_for' relationship.
|
java.util.Set<SpecimenTypeDesignation> |
getSpecimenTypeDesignations()
Returns the set of
specimen type designations that
typify the taxon names belonging to this homotypical group
including the status of these designations. |
java.util.Set<TypeDesignationBase<?>> |
getTypeDesignations()
Returns the set of all
type designations that
typify the taxon names belonging to this homotypical group
(this includes either name type designations or
specimen type designations ). |
java.util.Set<TaxonName> |
getTypifiedNames()
Returns the set of
taxon names that belong to this homotypical group. |
java.util.Set<TaxonName> |
getUnrelatedNames()
Returns all taxon names in the homotypic group that do not have an
'is_basionym_for' (zool.: 'is_original_combination_for')
or a replaced synonym relationship.
|
void |
merge(HomotypicalGroup homotypicalGroupToMerge)
Merges the typified
taxon names from one homotypical group into
the set of typified taxon names of this homotypical group. |
static HomotypicalGroup |
NewInstance()
Creates a new homotypical group instance with an empty set of typified
taxon names . |
static void |
removeGroupBasionym(TaxonName basionymName)
Removes all basionym relationships between basionymName and any other name
in it's homotypic group
|
void |
removeTypifiedName(TaxonName typifiedName) |
void |
removeTypifiedName(TaxonName typifiedName,
boolean removeGroup)
Removes one element from the set of
taxon names
that belong to this homotypical group. |
void |
setGroupBasionym(TaxonName basionymName)
Creates a basionym relationship to all other names in this names homotypical
group.
|
void |
setGroupBasionym(TaxonName basionymName,
Reference citation,
java.lang.String microCitation,
java.lang.String ruleConsidered,
NomenclaturalCodeEdition codeEdition) |
addAnnotation, addMarker, addMarker, clone, getAnnotations, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker, setAnnotations
cloneLanguageString, equals, getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
addPropertyChangeListener, addPropertyChangeListener, addToSetWithChangeEvent, deproxy, deproxy, fireOnCreateEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUserFriendlyDescription, getUserFriendlyFieldName, getUserFriendlyTypeName, getUuid, hashCode, hasListeners, initListener, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isBlank, isInstanceOf, isNotBlank, isPersited, removeFromSetWithChangeEvent, removePropertyChangeListener, removePropertyChangeListener, replaceInList, setCreated, setCreatedBy, setId, setNewEntityListener, setUuid, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
protected java.util.Set<TaxonName> typifiedNames
protected HomotypicalGroup()
taxon names
.public static HomotypicalGroup NewInstance()
taxon names
.HomotypicalGroup()
public java.util.Set<TaxonName> getTypifiedNames()
taxon names
that belong to this homotypical group.getSpecimenTypeDesignations()
public void addTypifiedName(TaxonName typifiedName)
taxon name
to the set of taxon names that belong
to this homotypical group.typifiedName
- the taxon name to be added to this groupgetTypifiedNames()
,
removeTypifiedName(TaxonName)
public void removeTypifiedName(TaxonName typifiedName)
typifiedName
- removeTypifiedName(TaxonName, boolean)
public void removeTypifiedName(TaxonName typifiedName, boolean removeGroup)
taxon names
that belong to this homotypical group.typifiedName
- the taxon name which should be removed from the corresponding setremoveGroup
- if true
the typified name is given a new
homotypical groupaddTypifiedName(TaxonName)
public void merge(HomotypicalGroup homotypicalGroupToMerge)
taxon names
from one homotypical group into
the set of typified taxon names of this homotypical group.homotypicalGroupToMerge
- the homotypical group the typified names of which
are to be transferred to this homotypical grouppublic java.util.Set<SpecimenTypeDesignation> getSpecimenTypeDesignations()
specimen type designations
that
typify the taxon names
belonging to this homotypical group
including the status of these designations.public java.util.Set<NameTypeDesignation> getNameTypeDesignations()
name type designations
that
typify the taxon names
belonging to this homotypical group
including the status of these designations.public java.util.Set<TypeDesignationBase<?>> getTypeDesignations()
type designations
that
typify the taxon names
belonging to this homotypical group
(this includes either name type designations
or
specimen type designations
).public void setGroupBasionym(TaxonName basionymName) throws java.lang.IllegalArgumentException
basionymName
- java.lang.IllegalArgumentException
- if basionymName is not member in this homotypical groupHomotypicalGroup.setGroupBasionym(TaxonName basionymName)
public void setGroupBasionym(TaxonName basionymName, Reference citation, java.lang.String microCitation, java.lang.String ruleConsidered, NomenclaturalCodeEdition codeEdition) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static void removeGroupBasionym(TaxonName basionymName)
basionymName
- public java.util.Set<TaxonName> getUnrelatedNames()
public java.util.Set<TaxonName> getNewCombinations()
public java.util.Set<TaxonName> getBasionymsOrReplacedSynonyms()
public java.util.Set<TaxonName> getBasionyms()
public java.util.Set<TaxonName> getReplacedSynonym()
public java.util.Set<NameRelationship> getBasionymAndReplacedSynonymRelations()
Copyright © 2007-2020 EDIT. All Rights Reserved.