|
||||||||||
| 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<IIdentifiableEntityCacheStrategy>
eu.etaxonomy.cdm.model.common.TermBase
eu.etaxonomy.cdm.model.common.DefinedTermBase<T>
eu.etaxonomy.cdm.model.common.OrderedTermBase<T>
eu.etaxonomy.cdm.model.common.RelationshipTermBase<NameRelationshipType>
eu.etaxonomy.cdm.model.name.NameRelationshipType
@Entity @Indexed(index="eu.etaxonomy.cdm.model.common.DefinedTermBase") public class NameRelationshipType
The class representing the categories of taxon name relationships between
two taxon names. These name relationship types are
based on the concrete nomenclatural code governing
the taxon names involved in the name relationship or on decisions taken by
the competent authorities; they do not depend on the use made of these
taxon names in a particular reference or in a particular taxonomic treatment.
Most relationships are to be understood as 'is .... of': for instance
Linum radiola L. is a replaced synonym of Radiola linoides Roth or
Astragalus rhizanthus Boiss. is a later homonym of
Astragalus rhizanthus Royle.
A standard (ordered) list of name 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 name relationship types if needed.
This class corresponds partially to:
| Field Summary | |
|---|---|
protected static Map<UUID,NameRelationshipType> |
termMap
|
| Fields inherited from class eu.etaxonomy.cdm.model.common.OrderedTermBase |
|---|
orderIndex |
| Fields inherited from class eu.etaxonomy.cdm.model.common.DefinedTermBase |
|---|
partOf, vocabulary |
| 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 | |
|---|---|
NameRelationshipType()
Class constructor: creates a new empty name relationship type instance. |
|
NameRelationshipType(String term,
String label,
String labelAbbrev,
boolean symmetric,
boolean transitive)
Class constructor: creates an additional name relationship type instance with a description, a label, a label abbreviation and the flags indicating whether this new name relationship type is symmetric and/or transitive. |
|
| Method Summary | |
|---|---|
static NameRelationshipType |
ALTERNATIVE_NAME()
Returns the "alternative name" name relationship type. |
static NameRelationshipType |
BASIONYM()
Returns the "basionym" name relationship type. |
static NameRelationshipType |
BLOCKING_NAME_FOR()
Returns the "blocking name" name relationship type. |
static NameRelationshipType |
CONSERVED_AGAINST()
Returns the "conserved against" name relationship type. |
static NameRelationshipType |
EMENDATION()
Returns the "emendation" name relationship type. |
protected static NameRelationshipType |
findTermByUuid(UUID uuid)
|
boolean |
isBasionymRelation()
|
boolean |
isIllegitimateType()
Returns the boolean value indicating whether the nomenclatural status type of the first taxon name
involved in a name relationship with this name relationship type should
be "illegitimate" (true) or not (false). |
boolean |
isInvalidType()
Returns the boolean value indicating whether the nomenclatural status type of the first taxon name
involved in a name relationship with this name relationship type should
be "invalid" (true) or not (false). |
boolean |
isLegitimateType()
Returns the boolean value indicating whether the nomenclatural status type of the first taxon name
involved in a name relationship with this name relationship type should
be "legitimate" (true) or not (false). |
boolean |
isReplacedSynonymRelation()
|
static NameRelationshipType |
LATER_HOMONYM()
Returns the "later homonym" name relationship type. |
static NameRelationshipType |
LATER_VALIDATED_BY_NAME()
Returns the "later validated by name" name relationship type. |
static NameRelationshipType |
MISSPELLING()
Returns the "misspelling" name relationship type. |
static NameRelationshipType |
ORTHOGRAPHIC_VARIANT()
Returns the "orthographic variant" name relationship type. |
NameRelationshipType |
readCsvLine(Class<NameRelationshipType> termClass,
List<String> csvLine,
Map<UUID,DefinedTermBase> terms)
Fills the term with contents from a csvLine. |
static NameRelationshipType |
REPLACED_SYNONYM()
Returns the "replaced synonym" name relationship type. |
void |
resetTerms()
|
protected void |
setDefaultTerms(TermVocabulary<NameRelationshipType> termVocabulary)
|
static NameRelationshipType |
TREATED_AS_LATER_HOMONYM()
Returns the "treated as later homonym" name relationship type. |
static NameRelationshipType |
VALIDATED_BY_NAME()
Returns the "validated by name" name relationship type. |
| Methods inherited from class eu.etaxonomy.cdm.model.common.RelationshipTermBase |
|---|
addInverseRepresentation, addRepresentation, clone, getInverseDescription, getInverseDescription, getInverseLabel, getInverseLabel, getInverseRepresentation, getInverseRepresentations, getPreferredInverseRepresentation, isSymmetric, isTransitive, removeInverseRepresentation, setSymmetric, setTransitive, writeCsvLine |
| Methods inherited from class eu.etaxonomy.cdm.model.common.OrderedTermBase |
|---|
compareTo, decreaseIndex, equals, getOrderIndex, incrementIndex, isHigher, isLower, performCompareTo |
| Methods inherited from class eu.etaxonomy.cdm.model.common.DefinedTermBase |
|---|
addGeneralizationOf, addIncludes, addMedia, getByUuid, getGeneralizationOf, getIncludes, getKindOf, getMedia, getPartOf, getVocabulary, readCsvLine, removeGeneralization, removeIncludes, removeMedia, setGeneralizationOf, setIncludes, setKindOf, setPartOf, setVocabulary |
| Methods inherited from class eu.etaxonomy.cdm.model.common.TermBase |
|---|
addRepresentation, getDescription, getDescription, getLabel, getLabel, getPreferredRepresentation, getPreferredRepresentation, getRepresentation, getRepresentations, getUri, removeRepresentation, setLabel, setLabel, setUri, toString |
| 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, regenerateTitleCache, removeCredit, removeCredit, removeExtension, removeRights, removeSource, setCacheStrategy, setLsid, setProtectedTitleCache, setTitleCache, setTitleCache |
| 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 |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface eu.etaxonomy.cdm.model.common.IDefinedTerm |
|---|
getUuid |
| 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 |
| Field Detail |
|---|
protected static Map<UUID,NameRelationshipType> termMap
| Constructor Detail |
|---|
public NameRelationshipType()
NameRelationshipType(String, String, String, boolean, boolean)
public NameRelationshipType(String term,
String label,
String labelAbbrev,
boolean symmetric,
boolean transitive)
term - the string (in the default language) describing the
new name relationship type to be createdlabel - the string identifying the new name relationship
type to be createdlabelAbbrev - the string identifying (in abbreviated form) the
new name relationship type to be createdsymmetric - the boolean indicating whether the new name
relationship type to be created is symmetrictransitive - the boolean indicating whether the new name
relationship type to be created is transitiveNameRelationshipType()| Method Detail |
|---|
protected static NameRelationshipType findTermByUuid(UUID uuid)
public void resetTerms()
resetTerms in class DefinedTermBase<NameRelationshipType>public boolean isInvalidType()
first taxon name
involved in a name relationship with this name relationship type should
be "invalid" (true) or not (false). Returns false if this name
relationship status type is null.
isLegitimateType(),
isIllegitimateType(),
NomenclaturalStatusType.isInvalidType(),
RelationshipBase.getRelatedFrom()public boolean isLegitimateType()
first taxon name
involved in a name relationship with this name relationship type should
be "legitimate" (true) or not (false). Returns false if this name
relationship status type is null.
isInvalidType(),
isIllegitimateType(),
NomenclaturalStatusType.isLegitimateType(),
RelationshipBase.getRelatedFrom()public boolean isIllegitimateType()
first taxon name
involved in a name relationship with this name relationship type should
be "illegitimate" (true) or not (false). Returns false if this name
relationship status type is null.
isInvalidType(),
isLegitimateType(),
NomenclaturalStatusType.isIllegitimateType(),
RelationshipBase.getRelatedFrom()public boolean isBasionymRelation()
public boolean isReplacedSynonymRelation()
public static final NameRelationshipType ORTHOGRAPHIC_VARIANT()
taxon name involved in such a relationship is an
orthographic variant of the second taxon name. The two taxon names
involved in such a relationship must have the same authorship
and rank, belong to the same homotypical group and their name parts
must be almost identical (so one usually does not differentiate them).
public static final NameRelationshipType MISSPELLING()
taxon name involved in such a relationship is a
misspelling of the second taxon name. The two taxon names
involved in such a relationship must have the same authorship
and rank, belong to the same homotypical group and their name parts
must be almost identical (so one usually does not differentiate them).orthographic variants and are complementary to
emendations. A misspelling is always an orthographic variant, too.
This type is symmetric and transitive but usually the misspelling relationships should be organized
in a star schema with the correct variant in the middle and the misspellings pointing to it.
public static final NameRelationshipType EMENDATION()
taxon name involved in such a relationship is a
misspelling of the second taxon name. The two taxon names
involved in such a relationship must have the same authorship
and rank, belong to the same homotypical group and their name parts
must be almost identical (so one usually does not differentiate them).orthographic variants and are
complementary to missepllings. An emendation is always an
orthographic variant, too.
public static final NameRelationshipType LATER_HOMONYM()
taxon name involved in such a relationship should
have been published after the second taxon name. The two taxon names
involved in such a relationship must belong to different
homotypical groups, have in general different
authorship and their name parts (excluding infraspecific
ranks) must be (almost) identical, so one could be mistaken for
the other one. The first taxon name is "illegitimate" and the second one
is "legitimate" (this corresponds to "invalid" and "valid" in case of
zoological names).
NomenclaturalStatusType.isIllegitimateType(),
NomenclaturalStatusType.isLegitimateType()public static final NameRelationshipType TREATED_AS_LATER_HOMONYM()
taxon name involved in such a relationship is
treated as an homonym although it has been published before the second
taxon name. The two taxon names involved must belong to different
homotypical groups and their name parts (excluding
infraspecific ranks and authorship) must be
almost identical (so one could be mistaken for the other). The first
taxon name is "illegitimate" and the second one is "legitimate" (this
corresponds to "invalid" and "valid" in case of zoological names).
LATER_HOMONYM(),
NomenclaturalStatusType.isIllegitimateType(),
NomenclaturalStatusType.isLegitimateType()public static final NameRelationshipType ALTERNATIVE_NAME()
taxon names
involved in such a relationship are family names. The first one is a
classical name long in use, in some cases, even before 1753 and is considered as
valid and also legitimate
although it does not follow the rules for family names (see Article 18 of
the ICBN). An alternative name is typified by the type of the name
it is alternative to (so both must belong to the same
homotypical group).
public static final NameRelationshipType BASIONYM()
taxon name
involved in such a relationship is the "basionym" of the second taxon
name. Both taxon names belong to the same homotypical group).
The basionym is the epithet-bringing taxon name (first taxon name
ever validly published given to the same infrageneric
taxon, the epithet of which is the same as in the second taxon name
originated through a reclassification).
public static final NameRelationshipType REPLACED_SYNONYM()
taxon name involved in such a relationship is the
"replaced synonym" of the second taxon name. Both taxon names belong to
the same homotypical group. The replaced synonym is the
first taxon name ever validly published given to the same
infrageneric taxon that is either itself a
"later homonym" or the epithet of which could not be used in the new
taxon name originated through a reclassification. A new epithet must be
proposed if the use of the original epithet leads to an already existing
taxon name (for another taxon) or in botany to autonyms (since the ICBN
does not allow such names where epithet and genus name are the same).
BASIONYM(),
LATER_HOMONYM(),
NomenclaturalStatusType.NOVUM()public static final NameRelationshipType CONSERVED_AGAINST()
taxon names
involved in such a relationship belong to the same homotypical group.
Competent authorities decided, regardless of the general
nomenclatural rules, to handle the first one as the "legitimate"
one and the second taxon name as "illegitimate" (this corresponds to
"valid" and "invalid" in case of zoological names).
NomenclaturalStatusType.CONSERVED(),
NomenclaturalStatusType.REJECTED(),
NomenclaturalStatusType.isLegitimateType(),
NomenclaturalStatusType.isIllegitimateType()public static final NameRelationshipType VALIDATED_BY_NAME()
taxon names involved in such a relationship were published
in order to define the same taxonomical group but the first
(earlier) taxon name was invalidly published whereas the second (later)
taxon name is the one which was validly published for the first time.
NomenclaturalStatusType.isInvalidType(),
NomenclaturalStatusType.VALID()public static final NameRelationshipType LATER_VALIDATED_BY_NAME()
taxon names involved in such a relationship were published
in order to define the same taxonomical group but the first
(earlier) taxon name was invalidly published whereas the second (later)
taxon name is the one which was validly published for the first time.
NomenclaturalStatusType.isInvalidType(),
NomenclaturalStatusType.VALID()public static final NameRelationshipType BLOCKING_NAME_FOR()
taxon name involved in such a relationship is the
"blocking name" for the second taxon name. Both taxon names belong to
different homotypical groups). The blocking taxon name is the
infrageneric taxon name, already published at the time of
reclassification, which makes illegitim (because of homonymy) the use of
the epithet in the second taxon name originated through a reclassification.
Therefore a "replaced synonym" name relationship arises.
REPLACED_SYNONYM(),
LATER_HOMONYM(),
NomenclaturalStatusType.NOVUM()protected void setDefaultTerms(TermVocabulary<NameRelationshipType> termVocabulary)
setDefaultTerms in class DefinedTermBase<NameRelationshipType>
public NameRelationshipType readCsvLine(Class<NameRelationshipType> termClass,
List<String> csvLine,
Map<UUID,DefinedTermBase> terms)
ILoadableTermterm 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<NameRelationshipType>readCsvLine in class RelationshipTermBase<NameRelationshipType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||