public enum TermType extends java.lang.Enum<TermType> implements IEnumTerm<TermType>
term
, may it be a vocabulary or a defined term.DefinedTermBase
. E.g. before v3.3 a term defining a sex and a term defining a stage had to different
classes Sex and Stage. With v3.3 they both became DefinedTerm
s but with different types.Enum Constant and Description |
---|
AnnotationType
Term type for annotation types.
|
DerivationEventType
Term type for derivation event types.
|
DeterminationModifier
TODO
Determination modifier is a specialization of
Modifier . |
DnaMarker
A marker is a region on a DNA which is addressed in an
amplification process . |
DnaQualityType
DNA Quality levels {link DnaQuality#type} .
|
ExtensionType
Term type for extension types.
|
Feature
Term type for descriptive features.
|
HybridRelationshipType
Term type for the type of a hybrid relationship between
taxon names |
IdentifierType
An Identifier Type which can be used as a type in
Identifier.type . |
InstitutionType
Term type for an institution type.
|
KindOfUnit
The kind-of-unit type represents the restriction (scope) concerning the part(s) of an
organism or the class of materials represented by a specimen or observation or described
by a
taxon or specimen description .In a description it can be used as a Modifier or
a Scope and therefore it is a specialization of Scope .The kind-of-unit of a specimen or observation
should be added as an kindOfUnit attribute
if the specimen is only a part of an organism and this part is described by the part-of-unit. |
Language
Term type to represent languages.
|
MarkerType
Term type for marker types.
|
Material |
MaterialOrMethod |
MeasurementUnit
Term type for a measurement unit.
|
Method |
Modifier
This type represents possible modulations for the validity of
information pieces (
DescriptionElementBase description elements). |
NamedArea
Term type for areas.
|
NamedAreaLevel
Term type for a named area level.
|
NamedAreaType
Term type for a named area type.
|
NameRelationshipType
Term type for the type of a name relationship between
taxon names |
NameTypeDesignationStatus
Term type for the type of a typification of a taxonomic name
with a rank higher then species.
|
NaturalLanguageTerm
Term type representing a natural language term.
|
NomenclaturalStatusType
Term type for the taxonomic nomenclatural status of a
taxon name . |
PresenceAbsenceTerm
Term type for presence or absence status
|
Rank
Term type for taxonomic ranks.
|
ReferenceSystem
Term type for a reference system of a geographic information.
|
RightsType
Term type for rights.
|
Scope
The type representing restrictions for the validity of
taxon descriptions and others. |
Sex
The type represents the restriction concerning the sex for
the applicability of
taxon descriptions or others. |
SpecimenTypeDesignationStatus
Term type for the type of a typification of a taxonomic name
with a rank equal or lower then species.
|
Stage
The stage type represents the restriction (scope) concerning the life stage for
the applicability of
taxon descriptions . |
State
Term type for a term representing a state for
categorical data |
StatisticalMeasure
Term type for a statistical measure.
|
SynonymType
Term type for the type of a synonym relationship between 2
taxa |
TaxonNodeAgentRelationType
|
TaxonRelationshipType
Term type for the type of a taxonomic concept relationship between
2
accepted taxa with different secundum referece. |
TextFormat
Term type for a text format.
|
Unknown
Unknown term type is the type to be used if no information is available about the type.
|
Modifier and Type | Method and Description |
---|---|
static TermType |
getByKey(java.lang.String key) |
static TermType |
getByUuid(java.util.UUID uuid) |
DefinedTermBase |
getEmptyDefinedTermBase()
Returns a defined term base object corresponding to this term type object
|
java.util.Set<TermType> |
getGeneralizationOf()
Returns all defined terms this term is a direct generalization for.
|
java.util.Set<TermType> |
getGeneralizationOf(boolean recursive)
Returns all defined terms this term is a generalization for.
|
java.lang.String |
getKey()
Returns the key for the enumeration.
|
TermType |
getKindOf()
Returns the defined term this term is a kind of.
|
java.lang.String |
getMessage()
Returns a human readable preferably for the default language.
|
java.lang.String |
getMessage(Language language)
Returns a human readable preferably for the given language.
|
java.util.UUID |
getUuid() |
boolean |
isKindOf(TermType ancestor)
Computes if
this term is kind of the ancestor term. |
static TermType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TermType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TermType Unknown
public static final TermType Language
public static final TermType NamedArea
public static final TermType Rank
public static final TermType Feature
DescriptionElementBase
public static final TermType AnnotationType
Annotation
public static final TermType ExtensionType
Extension
public static final TermType DerivationEventType
DerivationEvent
public static final TermType PresenceAbsenceTerm
Distribution
public static final TermType NomenclaturalStatusType
taxon name
.NomenclaturalStatus
public static final TermType NameRelationshipType
taxon names
NameRelationship
public static final TermType HybridRelationshipType
taxon names
HybridRelationship
public static final TermType SynonymType
taxa
Synonym.getType()
,
TaxonBase
public static final TermType TaxonRelationshipType
accepted taxa
with different secundum referece.TaxonRelationship
,
Taxon
public static final TermType NameTypeDesignationStatus
NameTypeDesignationStatus
,
NameTypeDesignation
public static final TermType SpecimenTypeDesignationStatus
eu.etaxonomy.cdm.model.name.SpecimenTypeDesignationStatus}
,
SpecimenTypeDesignation
public static final TermType InstitutionType
Institution
public static final TermType NamedAreaType
NamedArea
,
NamedAreaType
public static final TermType NamedAreaLevel
NamedArea
,
NamedAreaLevel
public static final TermType MeasurementUnit
MeasurementUnit
public static final TermType StatisticalMeasure
StatisticalMeasure
,
StatisticalMeasurementValue
public static final TermType MaterialOrMethod
public static final TermType Material
public static final TermType Method
public static final TermType Modifier
DescriptionElementBase
description elements).
It can cover probability ("perhaps"), frequency ("often") intensity ("very"),
timing ("spring") and other domains. Its instances can be grouped to build
different controlled term vocabularies
.
This class corresponds to GeneralModifierNLDType according to
the SDD schema.
This class is a generalization of Scope
and DeterminationModifier
public static final TermType Scope
taxon descriptions
and others.
This could include not only Stage (life stage) and Sex
but also for instance particular organism parts or seasons.Modifier
and a generalization of
Sex
and Stage
Modifier
,
DescriptionElementBase
,
TaxonDescription
,
TaxonDescription.getScopes()
public static final TermType Stage
taxon descriptions
. The life stage of a
specimen or observation
does not belong to a specimen description
but is an attribute of
the specimen itself.Scope
.public static final TermType KindOfUnit
taxon or specimen description
.description
it can be used as a Modifier
or
a Scope
and therefore it is a specialization of Scope
.specimen or observation
should be added as an kindOfUnit
attribute
if the specimen is only a part of an organism and this part is described by the part-of-unit.
If only a part of a specimen is described in a specimen description
the kind-of-unit should be used as a description
scope
(not yet implemented for specimen descriptions) or as a modifier in a
description item
.Scope
.public static final TermType Sex
taxon descriptions
or others. The sex of a
specimen or observation
does not belong to a specimen description
but is an attribute of
the specimen itself.Scope
.public static final TermType ReferenceSystem
Point
,
Point.getReferenceSystem()
public static final TermType State
categorical data
public static final TermType NaturalLanguageTerm
public static final TermType DeterminationModifier
Modifier
.public static final TermType DnaMarker
amplification process
.
It is very similar to a locus, a term which is often used as a synonym. However, a locus is correctly
defining one concrete place on a given DNA and therefore is more specific. As this specific information
is usually not available the marker information is provided instead.
Sometimes marker information includes multiple markers. To handle this it was decided that for such
combined markers we need to create a new "parent" marker which includes the single markers as "partOf" marker.
However, this works only if you have a distinct marker hierarchy, so futuereAmplification
,
Amplification#getMarker()
,
Sequencing
,
Sequencing#getMarker()
public static final TermType IdentifierType
Identifier.type
. It may often be a global unique identifier such as DOI, LSID, Barcode ....
But also local identifier types such Sample Designation, Catalog Number,
Accession Number, ... are allowed.
Identifier.type
public static final TermType DnaQualityType
DnaQu
public static final TermType TaxonNodeAgentRelationType
TaxonNode Agent Relation Type
.
The role an agent plays for a taxon node (classification subtree).public static TermType[] values()
for (TermType c : TermType.values()) System.out.println(c);
public static TermType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getKey()
IKeyTerm
public java.lang.String getMessage()
IKeyTerm
getMessage
in interface IKeyTerm
public java.lang.String getMessage(Language language)
IKeyTerm
getMessage
in interface IKeyTerm
public java.util.UUID getUuid()
getUuid
in interface ISimpleTerm<TermType>
public TermType getKindOf()
ISimpleTerm
this
termgetKindOf
in interface ISimpleTerm<TermType>
public java.util.Set<TermType> getGeneralizationOf()
ISimpleTerm
this
term.getGeneralizationOf
in interface ISimpleTerm<TermType>
public boolean isKindOf(TermType ancestor)
ISimpleTerm
this
term is kind of the ancestor
term.
So the ancestor
term is direct or indirect (recursive) generalization
of this
term.isKindOf
in interface ISimpleTerm<TermType>
ancestor
- the potential ancestor termISimpleTerm.getKindOf()
,
ISimpleTerm.getGeneralizationOf()
public java.util.Set<TermType> getGeneralizationOf(boolean recursive)
ISimpleTerm
this
term.
If parameter recursive
is false
only the
direct descendants will be returned. If it is true
the direct descendants and there recursive descendants (all descendants)
will be returned.getGeneralizationOf
in interface ISimpleTerm<TermType>
public static TermType getByKey(java.lang.String key)
public static TermType getByUuid(java.util.UUID uuid)
public DefinedTermBase getEmptyDefinedTermBase()
Copyright © 2007-2019 EDIT. All Rights Reserved.