|
||||||||||
| 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.ReferencedEntityBase
eu.etaxonomy.cdm.model.name.TypeDesignationBase<T>
@Entity public abstract class TypeDesignationBase<T extends TypeDesignationStatusBase>
The (abstract) class representing a typification of one or several taxon names.
All taxon names which have a 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).
TaxonNameBase,
NameTypeDesignation,
SpecimenTypeDesignation,
Serialized Form| Field Summary |
|---|
| 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 |
TypeDesignationBase()
Class constructor: creates a new empty type designation. |
protected |
TypeDesignationBase(Reference citation,
String citationMicroReference,
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,
String citationMicroReference,
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). |
| Method Summary | |
|---|---|
protected void |
addTypifiedName(TaxonNameBase taxonName)
Deprecated. for bidirectional use only |
Object |
clone()
Clones this type designation. |
HomotypicalGroup |
getHomotypicalGroup()
Deprecated. homotypical group can not be set and always seems to be null.
Probably it is a relict of an old version. |
T |
getTypeStatus()
Returns the type designation status for this specimen type
designation. |
Set<TaxonNameBase> |
getTypifiedNames()
Returns the set of taxon names typified in this
type designation. |
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()
|
protected void |
removeTypifiedName(TaxonNameBase taxonName)
Deprecated. for bidirectional use only |
void |
setNotDesignated(boolean notDesignated)
|
void |
setTypeStatus(T typeStatus)
|
| Methods inherited from class eu.etaxonomy.cdm.model.common.ReferencedEntityBase |
|---|
getCitation, getCitationMicroReference, getOriginalNameString, setCitation, setCitationMicroReference, setOriginalNameString |
| 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, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface eu.etaxonomy.cdm.model.name.ITypeDesignation |
|---|
isLectoType |
| Methods inherited from interface eu.etaxonomy.cdm.model.common.IVersionableEntity |
|---|
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy |
| Methods inherited from interface eu.etaxonomy.cdm.model.common.ICdmBase |
|---|
getCreated, getCreatedBy, getId, getUuid, setCreated, setCreatedBy, setId, setUuid |
| Constructor Detail |
|---|
protected TypeDesignationBase()
#TypeDesignationBase(Reference, String, String, Boolean)
protected TypeDesignationBase(Reference citation,
String citationMicroReference,
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(),
TaxonNameBase.getTypeDesignations()
protected TypeDesignationBase(Reference citation,
String citationMicroReference,
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(),
TaxonNameBase.getTypeDesignations()| Method Detail |
|---|
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()@Deprecated public HomotypicalGroup getHomotypicalGroup()
null.
Probably it is a relict of an old version.
homotypical group to which all (in this
type designation) typified taxon names belong.
getHomotypicalGroup in interface ITypeDesignationgetTypifiedNames()public Set<TaxonNameBase> 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 ITypeDesignationpublic 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()@Deprecated protected void addTypifiedName(TaxonNameBase taxonName)
@Deprecated protected void removeTypifiedName(TaxonNameBase taxonName)
public abstract void removeType()
public Object clone()
throws CloneNotSupportedException
clone in class ReferencedEntityBaseCloneNotSupportedExceptionReferencedEntityBase.clone(),
Object.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||