@Entity @Indexed(index="eu.etaxonomy.cdm.model.taxon.TaxonBase") @Configurable @HomotypicSynonymsShouldBelongToGroup(groups=Level3.class) public class Synonym extends TaxonBase<ITaxonCacheStrategy<Synonym>>
taxa
the taxon names
of which are not used by the reference
to designate a real
taxon but are mentioned as taxon names that were oder are used by some other
unspecified references to designate (at least to some extent) the same
particular real taxon. Synonyms that are attached
to an accepted taxon
are actually meaningless.taxa
on the one hand and ("synonym") taxa
on the other.ACC_TAXON_BRIDGE_PREFIX
cacheStrategy, NOT_PROTECTED, PROTECTED, protectedTitleCache, titleCache
annotations, markers
CLOB_LENGTH, uuid
Constructor and Description |
---|
Synonym()
Class constructor: creates a new empty synonym instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones this taxon.
|
Taxon |
getAcceptedTaxon()
Returns the "accepted/valid"
taxon |
SynonymType |
getType() |
boolean |
isOrphaned()
Returns
true if this
taxon base is not part of any classification. |
boolean |
isSynonymOf(Taxon taxon)
Returns true if this is a synonym of the given taxon.
|
static Synonym |
NewInstance(ITaxonNameBase taxonName,
Reference sec) |
static Synonym |
NewInstance(TaxonName taxonName,
Reference sec)
Creates a new synonym instance with
the
taxon name used and the reference
using it as a synonym and not as an ("accepted/correct") taxon . |
static Synonym |
NewInstance(TaxonName taxonName,
Reference sec,
java.lang.String secDetail) |
protected void |
setAcceptedTaxon(Taxon acceptedTaxon) |
void |
setType(SynonymType type) |
compareToTaxon, getAppendedPhrase, getHomotypicGroup, getName, getNullSafeRank, getSec, getSecMicroReference, getTaggedTitle, isDoubtful, isPublish, isUseNameCache, setAppendedPhrase, setDoubtful, setName, setPublish, setSec, setSecMicroReference, setUseNameCache
addCredit, addCredit, addExtension, addExtension, addIdentifier, addIdentifier, addIdentifier, addRights, addSource, addSources, createNewSource, generateTitle, getCacheStrategy, getCredits, getCredits, getData, getExtensions, getExtensions, getExtensions, getExtensionsConcat, getExtensionsConcat, getFilteredExtensions, getIdentifiers, getIdentifiers, getIdentifiers, getLsid, getRights, getTitleCache, getTruncatedCache, hasEmptyTitleCache, hasExtension, hasExtension, initListener, isProtectedTitleCache, removeCredit, removeCredit, removeExtension, removeIdentifier, removeIdentifier, removeRights, replaceCredit, replaceIdentifier, resetTitleCache, setCacheStrategy, setLsid, setProtectedTitleCache, setTitleCache, setTitleCache, toString, updateCaches, updateCaches
addAggregationSource, addImportSource, addPrimaryTaxonomicSource, addPrimaryTaxonomicSource, addSource, addSource, 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, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isBlank, isInstanceOf, isNotBlank, isPersited, removeFromSetWithChangeEvent, removePropertyChangeListener, removePropertyChangeListener, replaceInList, setCreated, setCreatedBy, setId, setNewEntityListener, setUuid
finalize, getClass, notify, notifyAll, wait, wait, wait
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
removeSources
addAggregationSource, addImportSource, addPrimaryTaxonomicSource, addPrimaryTaxonomicSource, addSource, addSource, getSources, removeSource
addAnnotation, addMarker, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
public Synonym()
#Synonym(TaxonName, Reference)
public static Synonym NewInstance(ITaxonNameBase taxonName, Reference sec)
taxonName
- sec
- NewInstance(TaxonName, Reference)
public static Synonym NewInstance(TaxonName taxonName, Reference sec)
taxon name
used and the reference
using it as a synonym and not as an ("accepted/correct") taxon
.TaxonName
- the taxon name usedsec
- the reference using the taxon name#Synonym(TaxonName, Reference)
public static Synonym NewInstance(TaxonName taxonName, Reference sec, java.lang.String secDetail)
protected void setAcceptedTaxon(Taxon acceptedTaxon)
public SynonymType getType()
public void setType(SynonymType type)
public boolean isSynonymOf(Taxon taxon)
taxon
- the taxon to check synonym forgetAcceptedTaxon()
public boolean isOrphaned()
TaxonBase
true
if this
taxon base is not part of any classification.
False otherwiseisOrphaned
in class TaxonBase<ITaxonCacheStrategy<Synonym>>
public java.lang.Object clone()
TaxonBase
clone
in class TaxonBase<ITaxonCacheStrategy<Synonym>>
eu.etaxonomy.cdm.model.media.IdentifiableEntity#clone()
,
Object.clone()
Copyright © 2007-2020 EDIT. All Rights Reserved.