@Entity @ValidTypeDesignation(groups=Level2.class) @ValidLectotypeSource(groups=Level2.class) public abstract class TypeDesignationBase<T extends TypeDesignationStatusBase<T>> extends SourcedEntityBase<IdentifiableSource> implements ITypeDesignation
taxon names
.rank
"species aggregate" or lower
can only be typified by specimens (a specimen type designation
), but taxon
names with a higher rank might be typified by an other taxon name with
rank "species" or "genus" (a name type designation
).TaxonName
,
NameTypeDesignation
,
SpecimenTypeDesignation
,
Serialized Formannotations, markers
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
TypeDesignationBase() |
protected |
TypeDesignationBase(Reference citation,
java.lang.String citationMicroReference,
java.lang.String originalNameString)
Class constructor: creates a new type designation
(including its
reference source and eventually
the taxon name string originally used by this reference when establishing
the former designation). |
protected |
TypeDesignationBase(Reference citation,
java.lang.String citationMicroReference,
java.lang.String originalNameString,
boolean notDesignated)
Class constructor: creates a new type designation
(including its
reference source and eventually
the taxon name string originally used by this reference when establishing
the former designation). |
Modifier and Type | Method and Description |
---|---|
protected void |
addTypifiedName(TaxonName taxonName)
Deprecated.
for bidirectional use only
|
java.lang.Object |
clone()
Clones this type designation.
|
protected IdentifiableSource |
createNewSource(OriginalSourceType type,
java.lang.String idInSource,
java.lang.String idNamespace,
Reference reference,
java.lang.String microReference,
java.lang.String originalInfo,
ICdmTarget target) |
Reference |
getCitation() |
java.lang.String |
getCitationMicroReference() |
java.util.Set<Registration> |
getRegistrations()
Returns the
registrations available for this
type designation. |
T |
getTypeStatus()
Returns the
type designation status for this specimen type
designation. |
java.util.Set<TaxonName> |
getTypifiedNames()
Returns the set of
taxon names typified in this
type designation. |
boolean |
hasDesignationSource()
Shortcut to retrieve the information if the status of
this type designation is considered to be a "lectotype" status
in the sense that it usually should have a designation reference.
|
boolean |
isNotDesignated()
Returns the boolean value "true" if it is known that a type does not
exist and therefore the
taxon name to which this
type designation is assigned must still be typified. |
abstract void |
removeType()
Remove the type (specimen or name) from this type designation
|
protected void |
removeTypifiedName(TaxonName taxonName)
Deprecated.
for bidirectional use only
|
void |
setCitation(Reference citation) |
void |
setCitationMicroReference(java.lang.String citationMicroReference) |
void |
setNotDesignated(boolean notDesignated) |
void |
setTypeStatus(T typeStatus) |
addAggregationSource, addImportSource, addPrimaryTaxonomicSource, addPrimaryTaxonomicSource, addSource, addSource, addSource, addSources, getSources, removeSource, removeSources
addAnnotation, addMarker, addMarker, 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 TypeDesignationBase()
protected TypeDesignationBase(Reference citation, java.lang.String citationMicroReference, java.lang.String originalNameString)
reference source
and eventually
the taxon name string originally used by this reference when establishing
the former designation).citation
- the reference source for the new designationcitationMicroReference
- the string with the details describing the exact localisation within the referenceoriginalNameString
- the taxon name string used originally in the reference source for the new designationTypeDesignationBase()
,
isNotDesignated()
,
TaxonName.getTypeDesignations()
protected TypeDesignationBase(Reference citation, java.lang.String citationMicroReference, java.lang.String originalNameString, boolean notDesignated)
reference source
and eventually
the taxon name string originally used by this reference when establishing
the former designation).citation
- the reference source for the new designationcitationMicroReference
- the string with the details describing the exact localisation within the referenceoriginalNameString
- the taxon name string used originally in the reference source for the new designationisNotDesignated
- the boolean flag indicating whether there is no type at all for
this type designationTypeDesignationBase()
,
isNotDesignated()
,
TaxonName.getTypeDesignations()
public T getTypeStatus()
type designation status
for this specimen type
designation. This status describes which of the possible categories of
types like "holotype", "neotype", "syntype" or "isotype" applies to this
specimen type designation.public void setTypeStatus(T typeStatus)
getTypeStatus()
public boolean isNotDesignated()
taxon name
to which this
type designation is assigned must still be typified. Two
cases must be differentiated: name type designation
, or the typeSpecimen attribute,
in case of a specimen type designation
, should then be "null".public void setNotDesignated(boolean notDesignated)
isNotDesignated()
public java.lang.String getCitationMicroReference()
public void setCitationMicroReference(java.lang.String citationMicroReference)
public Reference getCitation()
public void setCitation(Reference citation)
public java.util.Set<Registration> getRegistrations()
registrations
available for this
type designation.public abstract void removeType()
public java.util.Set<TaxonName> getTypifiedNames()
taxon names
typified in this
type designation. This is a subset of the taxon names belonging to the
corresponding homotypical group
.getTypifiedNames
in interface ITypeDesignation
@Deprecated protected void addTypifiedName(TaxonName taxonName)
@Deprecated protected void removeTypifiedName(TaxonName taxonName)
protected IdentifiableSource createNewSource(OriginalSourceType type, java.lang.String idInSource, java.lang.String idNamespace, Reference reference, java.lang.String microReference, java.lang.String originalInfo, ICdmTarget target)
createNewSource
in class SourcedEntityBase<IdentifiableSource>
public boolean hasDesignationSource()
ITypeDesignation
TypeDesignationStatusBase.hasDesignationSource()
hasDesignationSource
in interface ITypeDesignation
TypeDesignationStatusBase.hasDesignationSource()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class SourcedEntityBase<IdentifiableSource>
java.lang.CloneNotSupportedException
ReferencedEntityBase.clone()
,
Object.clone()
Copyright © 2007-2020 EDIT. All Rights Reserved.