@Entity public class TaxonRelationshipType extends RelationshipTermBase<TaxonRelationshipType>
taxon relationships
(like "is congruent to" or "is misapplied name for").
A standard (ordered) list of taxon relationship type instances will be automatically created as the project starts. But this class allows to extend this standard list by creating new instances of additional taxon relationship types if needed.
This class corresponds in part to:
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.util.UUID,TaxonRelationshipType> |
termMap |
static java.util.UUID |
uuidHeterotypicSynonymTaxonRelationship |
static java.util.UUID |
uuidHomotypicSynonymTaxonRelationship |
static java.util.UUID |
uuidMisappliedNameFor |
static java.util.UUID |
uuidPartialMisappliedNameFor |
static java.util.UUID |
uuidPartialSynonymFor |
static java.util.UUID |
uuidProParteMisappliedNameFor |
static java.util.UUID |
uuidProParteSynonymFor |
static java.util.UUID |
uuidSynonymOfTaxonRelationship |
orderIndex
partOf, vocabulary
cacheStrategy, NOT_PROTECTED, PROTECTED, protectedTitleCache, titleCache
annotations, markers
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
TaxonRelationshipType()
Deprecated.
for inner (hibernate) use only
|
Modifier and Type | Method and Description |
---|---|
static TaxonRelationshipType |
ALL_RELATIONSHIPS() |
static java.util.Set<TaxonRelationshipType> |
allMisappliedNameTypes()
Returns a list of all misapplied name relationship
types such as "misapplied name for" and
"pro parte misapplied name for".
|
static java.util.Set<TaxonRelationshipType> |
allPartialTypes() |
static java.util.Set<TaxonRelationshipType> |
allProParteTypes() |
static java.util.Set<TaxonRelationshipType> |
allSynonymTypes() |
static TaxonRelationshipType |
CONGRUENT_OR_EXCLUDES() |
static TaxonRelationshipType |
CONGRUENT_OR_INCLUDED_OR_INCLUDES() |
static TaxonRelationshipType |
CONGRUENT_OR_INCLUDES_OR_EXCLUDES() |
static TaxonRelationshipType |
CONGRUENT_OR_INCLUDES_OR_OVERLAPS() |
static TaxonRelationshipType |
CONGRUENT_OR_INCLUDES() |
static TaxonRelationshipType |
CONGRUENT_OR_OVERLAPS_OR_EXCLUDES() |
static TaxonRelationshipType |
CONGRUENT_OR_OVERLAPS() |
static TaxonRelationshipType |
CONGRUENT_TO()
Returns the (concept) taxon relationship type "is congruent to".
|
static TaxonRelationshipType |
CONTRADICTION()
Returns the (concept) taxon relationship type "is impossible"
(contradiction).
|
static TaxonRelationshipType |
DOES_NOT_EXCLUDE()
Returns the (concept) taxon relationship type "does not exclude".
|
static TaxonRelationshipType |
DOES_NOT_OVERLAP()
Returns the (concept) taxon relationship type "does not overlap".
|
static TaxonRelationshipType |
EXCLUDES()
Returns the (concept) taxon relationship type "excludes".
|
protected static TaxonRelationshipType |
getTermByUuid(java.util.UUID uuid) |
static TaxonRelationshipType |
INCLUDED_OR_INCLUDES_OR_EXCLUDES() |
static TaxonRelationshipType |
INCLUDED_OR_INCLUDES_OR_OVERLAPS() |
static TaxonRelationshipType |
INCLUDED_OR_INCLUDES() |
static TaxonRelationshipType |
INCLUDES_OR_EXCLUDES() |
static TaxonRelationshipType |
INCLUDES_OR_OVERLAPS_OR_EXCLUDES() |
static TaxonRelationshipType |
INCLUDES_OR_OVERLAPS() |
static TaxonRelationshipType |
INCLUDES()
Returns the (concept) taxon relationship type "includes".
|
static TaxonRelationshipType |
INVALID_DESIGNATION_FOR()
Returns the taxon relationship type "is invalid designation for".
|
boolean |
isAnyMisappliedName()
true if this relationship type is any
of the misapplied name relationships such as
MISAPPLIED_NAME_FOR() or PRO_PARTE_MISAPPLIED_NAME_FOR() |
boolean |
isAnySynonym()
true if this relationship type is any
of the pro parte or partial synonym relationship types
PRO_PARTE_SYNONYM_FOR() or PARTIAL_SYNONYM_FOR() |
boolean |
isConceptRelationship()
Returns
true , if this relationship type is not a misapplied name for
and also no taxonomically included in relationship.It assumes that all other relationships are concept relationships. |
boolean |
isInvalidDesignation()
true if this relationship type is an
invalid designation |
boolean |
isMisappliedNameOrInvalidDesignation()
true if this relationship type is any of the misapplied name relationship types or an
invalid designation |
boolean |
isPartial()
true if this relationship type is either
a partial synonym or a partial misapplied name relationship type
PARTIAL_SYNONYM_FOR() or PARTIAL_MISAPPLIED_NAME_FOR() |
boolean |
isProParte()
true if this relationship type is either
a pro parte synonym or a pro parte misapplied name relationship type
PRO_PARTE_SYNONYM_FOR() or PRO_PARTE_MISAPPLIED_NAME_FOR() |
static TaxonRelationshipType |
MISAPPLIED_NAME_FOR()
Returns the taxon relationship type "is misapplied name for".
|
static java.util.Set<java.util.UUID> |
misappliedNameUuids() |
static TaxonRelationshipType |
NewInstance(java.lang.String term,
java.lang.String label,
java.lang.String labelAbbrev,
boolean symmetric,
boolean transitive) |
static TaxonRelationshipType |
NOT_CONGRUENT_TO()
Returns the (concept) taxon relationship type "is not congruent to".
|
static TaxonRelationshipType |
NOT_INCLUDED_IN()
Returns the (concept) taxon relationship type "is not included in".
|
static TaxonRelationshipType |
NOT_YET_WORKED_ON() |
static TaxonRelationshipType |
OVERLAPS_OR_EXCLUDES() |
static TaxonRelationshipType |
OVERLAPS()
Returns the (concept) taxon relationship type "overlaps".
|
static TaxonRelationshipType |
PARTIAL_MISAPPLIED_NAME_FOR()
Returns the taxon relationship type "is partial misapplied name for".
|
static TaxonRelationshipType |
PARTIAL_SYNONYM_FOR()
Returns the taxon relationship type "is partial synonym for".
|
static java.util.Set<java.util.UUID> |
partialUuids() |
static TaxonRelationshipType |
PRO_PARTE_MISAPPLIED_NAME_FOR()
Returns the taxon relationship type "is pro parte misapplied name for".
|
static TaxonRelationshipType |
PRO_PARTE_SYNONYM_FOR()
Returns the taxon relationship type "is pro parte synonym for".
|
static java.util.Set<java.util.UUID> |
proParteOrPartialSynonymUuids() |
static java.util.Set<java.util.UUID> |
proParteUuids() |
static java.util.Set<java.util.UUID> |
pseudoTaxonUuids() |
TaxonRelationshipType |
readCsvLine(java.lang.Class<TaxonRelationshipType> termClass,
java.util.List<java.lang.String> csvLine,
TermType termType,
java.util.Map<java.util.UUID,DefinedTermBase> terms,
boolean abbrevAsId)
Fills the
term with contents from a csvLine. |
void |
resetTerms() |
protected void |
setDefaultTerms(TermVocabulary<TaxonRelationshipType> termVocabulary) |
static TaxonRelationshipType |
TAXONOMICALLY_INCLUDED_IN()
Deprecated.
will be removed in version 3.0
|
static TaxonRelationshipType |
UNCLEAR() |
addInverseRepresentation, addRepresentation, clone, getInverseDescription, getInverseDescription, getInverseLabel, getInverseLabel, getInverseRepresentation, getInverseRepresentations, getInverseSymbol, getPreferredInverseRepresentation, isSymmetric, isTransitive, removeInverseRepresentation, setInverseSymbol, setSymmetric, setTransitive, writeCsvLine
compareTo, decreaseIndex, getNextHigherTerm, getNextLowerTerm, getOrderIndex, incrementIndex, isHigher, isLower, performCompareTo
addGeneralizationOf, addIncludes, addMedia, getByUuid, getCacher, getGeneralizationOf, getGeneralizationOf, getIdInVocabulary, getIncludes, getKindOf, getMedia, getPartOf, getSymbol, getSymbol2, getTermByClassAndUUID, getVocabulary, isKindOf, partOfCsvLineIndex, readCsvLine, readIsPartOf, removeGeneralization, removeIncludes, removeMedia, setCacher, setGeneralizationOf, setIdInVocabulary, setIncludes, setKindOf, setPartOf, setSymbol, setSymbol2, setVocabulary
addRepresentation, getDescription, getDescription, getLabel, getLabel, getPreferredRepresentation, getPreferredRepresentation, getRepresentation, getRepresentations, getTermType, getUri, removeRepresentation, setLabel, setLabel, setTermType, setUri, toString
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, 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
getUuid
checkTermTypeEqualOrDescendant, checkTermTypeNull, checkTermTypes
removeSources
addAggregationSource, addImportSource, addPrimaryTaxonomicSource, addPrimaryTaxonomicSource, addSource, addSource, getSources, removeSource
addAnnotation, addMarker, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
protected static java.util.Map<java.util.UUID,TaxonRelationshipType> termMap
public static final java.util.UUID uuidMisappliedNameFor
public static final java.util.UUID uuidProParteMisappliedNameFor
public static final java.util.UUID uuidPartialMisappliedNameFor
public static final java.util.UUID uuidProParteSynonymFor
public static final java.util.UUID uuidPartialSynonymFor
public static final java.util.UUID uuidHeterotypicSynonymTaxonRelationship
public static final java.util.UUID uuidHomotypicSynonymTaxonRelationship
public static final java.util.UUID uuidSynonymOfTaxonRelationship
@Deprecated protected TaxonRelationshipType()
public static TaxonRelationshipType NewInstance(java.lang.String term, java.lang.String label, java.lang.String labelAbbrev, boolean symmetric, boolean transitive)
public void resetTerms()
resetTerms
in class DefinedTermBase<TaxonRelationshipType>
protected static TaxonRelationshipType getTermByUuid(java.util.UUID uuid)
public boolean isMisappliedNameOrInvalidDesignation()
true
if this relationship type is any of the misapplied name relationship types
or an
invalid designation
isAnyMisappliedName()()
public boolean isInvalidDesignation()
true
if this relationship type is an
invalid designation
isAnyMisappliedName()()
public boolean isAnyMisappliedName()
true
if this relationship type is any
of the misapplied name relationships such as
MISAPPLIED_NAME_FOR()
or PRO_PARTE_MISAPPLIED_NAME_FOR()
isMisappliedNameOrInvalidDesignation()
public boolean isAnySynonym()
true
if this relationship type is any
of the pro parte or partial synonym relationship types
PRO_PARTE_SYNONYM_FOR()
or PARTIAL_SYNONYM_FOR()
isAnyMisappliedName()
public boolean isProParte()
true
if this relationship type is either
a pro parte synonym or a pro parte misapplied name relationship type
PRO_PARTE_SYNONYM_FOR()
or PRO_PARTE_MISAPPLIED_NAME_FOR()
public boolean isPartial()
true
if this relationship type is either
a partial synonym or a partial misapplied name relationship type
PARTIAL_SYNONYM_FOR()
or PARTIAL_MISAPPLIED_NAME_FOR()
isProParte()
public static java.util.Set<TaxonRelationshipType> allMisappliedNameTypes()
public static java.util.Set<TaxonRelationshipType> allSynonymTypes()
public static java.util.Set<TaxonRelationshipType> allProParteTypes()
public static java.util.Set<TaxonRelationshipType> allPartialTypes()
public boolean isConceptRelationship()
true
, if this relationship type is not a misapplied name for
and also no taxonomically included in relationship.@Deprecated public static final TaxonRelationshipType TAXONOMICALLY_INCLUDED_IN()
source taxon
in such a taxon relationship
has the target taxon
as immediate next higher parent within the classification. Generally
the concept reference
of both taxa are the same
except if the concept reference follows the taxonomical opinion of
another reference.public static final TaxonRelationshipType MISAPPLIED_NAME_FOR()
taxon name
of the source taxon
in such a taxon relationship
has been erroneously used by
the concept reference
to denominate the same real taxon
as the one meant by the target taxon
.public static final TaxonRelationshipType PRO_PARTE_MISAPPLIED_NAME_FOR()
taxon name
of the
source taxon
in such a taxon relationship
has been erroneously used by
the concept reference
to (partly) denominate the same real taxon
as the one meant by the target taxon
. Additionaly another real taxon
is (partly) denominated by the given name in the concept reference. Therefore it is called
pro parte. MISAPPLIED_NAME_FOR()
,
PRO_PARTE_SYNONYM_FOR()
public static final TaxonRelationshipType PARTIAL_MISAPPLIED_NAME_FOR()
taxon name
of the
source taxon
in such a taxon relationship
has been erroneously used by
the concept reference
to (partly) denominate the same real taxon
as the one meant by the target taxon
. In contrary to a
pro parte misapplied name
no other real taxon
is (partly) demoninated by the given name in the concept reference. Therefore it is called
partial.public static final TaxonRelationshipType PRO_PARTE_SYNONYM_FOR()
taxon name
of the
source taxon
in such a taxon relationship
has been used as a
pro parte synonym.PRO_PARTE_MISAPPLIED_NAME_FOR()
public static final TaxonRelationshipType PARTIAL_SYNONYM_FOR()
taxon name
of the
source taxon
in such a taxon relationship
has been used as a
partial synonym.public static final TaxonRelationshipType INVALID_DESIGNATION_FOR()
taxon name
of the source taxon
in such a taxon relationship
has
not been validly published
but was intended to denominate
a real taxon which is the same as the one meant by the target taxon
.public static final TaxonRelationshipType CONTRADICTION()
taxon
according to the -maybe implicit- opinion of the concept reference
)
of both taxa involved in such a taxon relationship
are
beeing compared. In a concept relationship the concept references of the
involved taxa must be distinct. public static final TaxonRelationshipType CONGRUENT_TO()
taxon
according
to the -maybe implicit- opinion of the concept reference
)
of both taxa involved in such a taxon relationship
are
beeing compared. In a concept relationship the concept references of the
involved taxa must be distinct. public static final TaxonRelationshipType INCLUDES()
taxon
according
to the -maybe implicit- opinion of the concept reference
)
of both taxa involved in such a taxon relationship
are
beeing compared. In a concept relationship the concept references of the
involved taxa must be distinct. public static final TaxonRelationshipType OVERLAPS()
taxon
according
to the -maybe implicit- opinion of the concept reference
)
of both taxa involved in such a taxon relationship
are
beeing compared. In a concept relationship the concept references of the
involved taxa must be distinct. public static final TaxonRelationshipType EXCLUDES()
taxon
according
to the -maybe implicit- opinion of the concept reference
)
of both taxa involved in such a taxon relationship
are
beeing compared. In a concept relationship the concept references of the
involved taxa must be distinct. public static final TaxonRelationshipType DOES_NOT_EXCLUDE()
taxon
according
to the -maybe implicit- opinion of the concept reference
)
of both taxa involved in such a taxon relationship
are
beeing compared. In a concept relationship the concept references of the
involved taxa must be distinct. "is congruent to"
, "includes"
and "overlaps"
.EXCLUDES()
public static final TaxonRelationshipType DOES_NOT_OVERLAP()
taxon
according
to the -maybe implicit- opinion of the concept reference
)
of both taxa involved in such a taxon relationship
are
beeing compared. In a concept relationship the concept references of the
involved taxa must be distinct. "is congruent to"
, "includes"
and "excludes"
.OVERLAPS()
public static final TaxonRelationshipType NOT_INCLUDED_IN()
taxon
according
to the -maybe implicit- opinion of the concept reference
)
of both taxa involved in such a taxon relationship
are
beeing compared. In a concept relationship the concept references of the
involved taxa must be distinct. INCLUDES()
public static final TaxonRelationshipType NOT_CONGRUENT_TO()
taxon
according
to the -maybe implicit- opinion of the concept reference
)
of both taxa involved in such a taxon relationship
are
beeing compared. In a concept relationship the concept references of the
involved taxa must be distinct. "includes"
, "overlaps"
and "excludes"
.CONGRUENT_TO()
public static final TaxonRelationshipType CONGRUENT_OR_INCLUDES()
public static final TaxonRelationshipType INCLUDED_OR_INCLUDES()
public static final TaxonRelationshipType CONGRUENT_OR_INCLUDED_OR_INCLUDES()
public static final TaxonRelationshipType CONGRUENT_OR_OVERLAPS()
public static final TaxonRelationshipType INCLUDES_OR_OVERLAPS()
public static final TaxonRelationshipType CONGRUENT_OR_INCLUDES_OR_EXCLUDES()
public static final TaxonRelationshipType INCLUDES_OR_EXCLUDES()
public static final TaxonRelationshipType CONGRUENT_OR_EXCLUDES()
public static final TaxonRelationshipType INCLUDED_OR_INCLUDES_OR_OVERLAPS()
public static final TaxonRelationshipType CONGRUENT_OR_INCLUDES_OR_OVERLAPS()
public static final TaxonRelationshipType INCLUDES_OR_OVERLAPS_OR_EXCLUDES()
public static final TaxonRelationshipType CONGRUENT_OR_OVERLAPS_OR_EXCLUDES()
public static final TaxonRelationshipType OVERLAPS_OR_EXCLUDES()
public static final TaxonRelationshipType INCLUDED_OR_INCLUDES_OR_EXCLUDES()
public static final TaxonRelationshipType UNCLEAR()
public static final TaxonRelationshipType NOT_YET_WORKED_ON()
protected void setDefaultTerms(TermVocabulary<TaxonRelationshipType> termVocabulary)
setDefaultTerms
in class DefinedTermBase<TaxonRelationshipType>
public static final TaxonRelationshipType ALL_RELATIONSHIPS()
public TaxonRelationshipType readCsvLine(java.lang.Class<TaxonRelationshipType> termClass, java.util.List<java.lang.String> csvLine, TermType termType, java.util.Map<java.util.UUID,DefinedTermBase> terms, boolean abbrevAsId)
ILoadableTerm
term
with contents from a csvLine. If the csvLine represents the default language
the csvLine attributes are merged into the existing default language and the default Language is returned.readCsvLine
in interface ILoadableTerm<TaxonRelationshipType>
readCsvLine
in class RelationshipTermBase<TaxonRelationshipType>
public static java.util.Set<java.util.UUID> proParteOrPartialSynonymUuids()
PRO_PARTE_SYNONYM_FOR()
or PARTIAL_SYNONYM_FOR()
public static java.util.Set<java.util.UUID> misappliedNameUuids()
MISAPPLIED_NAME_FOR()
,
PRO_PARTE_MISAPPLIED_NAME_FOR()
and PARTIAL_MISAPPLIED_NAME_FOR()
public static java.util.Set<java.util.UUID> partialUuids()
PARTIAL_SYNONYM_FOR()
and
PARTIAL_MISAPPLIED_NAME_FOR()
)public static java.util.Set<java.util.UUID> proParteUuids()
PRO_PARTE_SYNONYM_FOR()
and
PRO_PARTE_MISAPPLIED_NAME_FOR()
)public static java.util.Set<java.util.UUID> pseudoTaxonUuids()
Copyright © 2007-2020 EDIT. All Rights Reserved.