Project

General

Profile

Cdm FAQ » History » Version 11

Andreas Müller, 03/04/2009 07:13 PM

1 1 Markus Döring
{{>toc}}
2
3
4
5
6
# CDM FAQs
7
8
9
### Where are basionym authorteams?
10
11 2 Markus Döring
Year of publication and/or basionym authorteams of a scientific name might be known although the nomenclatural reference or the basionym itself is not known. A “dummy” reference and/or a “dummy” basionym will be created that keeps this data to enforce consistency. See #125
12 3 Markus Döring
13
14
15
### How can plain lists of literature references be attached to a taxon?
16
17 5 Markus Döring
The recommended way is to create an empty Cdm:description:TaxonDescription for each literature resource and use the source property to hold the reference.
18 3 Markus Döring
19
20
21
### Taxon relations vs Name relations
22
23
The [[CdmLibrary]] logic does not cross the border between names and taxa. So if you create a new basionym relationship between two names NO homotypic synonym relationship is created automatically. On the contrary if a basionym relationship exists between two names, but no synonym relationship between 2 taxon concepts  with the respective names, the 2 taxa are not considered synonyms!
24 6 Andreas Müller
25
26
27
### Original Source ID
28
29 10 Andreas Müller
For importing data from an other source you have to add the an original source. E.g.:
30 7 Andreas Müller
31 8 Andreas Müller
~~~
32 7 Andreas Müller
IdentifiableEntity idEntity;
33
ReferenceBase ref;
34
int originalId;
35
OriginalSource originalSource = new OriginalSource();
36
originalSource.setIdInSource(String.valueOf(originalId));
37
originalSource.setCitation(ref);
38
idEntity.addSource(originalSource); 
39 8 Andreas Müller
~~~
40 11 Andreas Müller
41
42
### What is the exact use for the class ReferencedEntityBase? And where are instances stored in the CDM database schema?
43
44
45
ReferencedEntityBase is an abstract super class for all classes that hold information about who is saying something. For example if you want to say that XYZ says that taxon A is a synonym for taxon B you will create a SynonymRelationship which is a subclass of ReferenceEntityBase and set the citation to XYZ. If you even know on which page the information about this relationship was published you will additionally set the micro-reference of the SynonymRelationship.
46
47
The same applies to all DescriptionElementBase classes like CategorialData, QuantitativeData etc. If you know in which publication this information is to be found you may add it to the DescriptionElementBase by using DescriptionElementBase.setCitation().
48
49
50
As it is a super class for other classes the instances are not stored directly in the schema but in the classes/tables that inherit from ReferencedEntityBase.
51
52
In your case you may find the information for example directly in the DescriptionElementBase table which has attributes like "citation_id", "originalNameString" or "microreference" that come from this class.