|
||||||||||
| 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.taxon.TaxonBase<S>
@TaxonNameCannotBeAcceptedAndSynonym(groups=Level3.class) public abstract class TaxonBase<S extends IIdentifiableEntityCacheStrategy>
The upmost (abstract) class for the use of a taxon name in a reference
or within a taxonomic view/treatment either as a taxon
("accepted" respectively "correct" name) or as a (junior) synonym.
Within a taxonomic view/treatment or a reference a taxon name can be used
only in one of both described meanings. The reference using the taxon name
is generally cited with "sec." (secundum, sensu). For instance:
"Juncus longirostris Kuvaev sec. Kirschner, J. et al. 2002".
This class corresponds to:
| Field Summary |
|---|
| 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 |
TaxonBase()
Class constructor: creates a new empty (abstract) taxon. |
protected |
TaxonBase(TaxonNameBase taxonNameBase,
Reference sec)
Class constructor: creates a new (abstract) taxon with the taxon name used and the reference
using it. |
| Method Summary | |
|---|---|
Object |
clone()
Clones this taxon. |
String |
getAppendedPhrase()
An appended phrase is a phrase that is added to the taxon name
's title cache to be used just in this taxon. |
HomotypicalGroup |
getHomotypicGroup()
Returns the homotypical group of the
taxon name used in this (abstract) taxon. |
TaxonNameBase |
getName()
Returns the taxon name used in this (abstract) taxon. |
Reference |
getSec()
Returns the reference of this (abstract) taxon. |
boolean |
isDoubtful()
Returns the boolean value indicating whether the assignment of this (abstract) taxon to the Taxon or to the Synonym class is definitive
(false) or not (true). |
boolean |
isUseNameCache()
|
void |
setAppendedPhrase(String appendedPhrase)
|
void |
setDoubtful(boolean doubtful)
|
void |
setName(TaxonNameBase name)
|
void |
setSec(Reference sec)
|
void |
setUseNameCache(boolean useNameCache)
|
| 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, getTitleCache, getTruncatedCache, initListener, isProtectedTitleCache, removeCredit, removeCredit, removeExtension, removeRights, removeSource, setCacheStrategy, setLsid, setProtectedTitleCache, setTitleCache, 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, 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.IAnnotatableEntity |
|---|
addAnnotation, addMarker, getAnnotations, getMarkers, hasMarker, hasMarker, removeAnnotation, removeMarker |
| 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 TaxonBase()
TaxonBase(TaxonNameBase, Reference)
protected TaxonBase(TaxonNameBase taxonNameBase,
Reference sec)
taxon name used and the reference
using it.
taxonNameBase - the taxon name usedsec - the reference using the taxon nameTaxonBase()| Method Detail |
|---|
public TaxonNameBase getName()
taxon name used in this (abstract) taxon.
public void setName(TaxonNameBase name)
public HomotypicalGroup getHomotypicGroup()
homotypical group of the
taxon name used in this (abstract) taxon.
public boolean isDoubtful()
Taxon or to the Synonym class is definitive
(false) or not (true). If this flag is set the use of this (abstract)
taxon as an "accepted/correct" name or as a (junior) "synonym" might
still change in the course of taxonomical working process.
public void setDoubtful(boolean doubtful)
isDoubtful()public Reference getSec()
reference of this (abstract) taxon.
This is the reference or the treatment using the taxon name
in this (abstract) taxon.
public void setSec(Reference sec)
getSec()public String getAppendedPhrase()
taxon name
's title cache to be used just in this taxon. E.g. the phrase "sensu latu" may be added
to the name to describe this taxon more precisely.
If isUseNameCache()
public void setAppendedPhrase(String appendedPhrase)
appendedPhrase - the appendedPhrase to setpublic boolean isUseNameCache()
public void setUseNameCache(boolean useNameCache)
useNameCache - the useNameCache to setpublic Object clone()
clone in class IdentifiableEntity<S extends IIdentifiableEntityCacheStrategy>eu.etaxonomy.cdm.model.media.IdentifiableEntity#clone(),
Object.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||