Project

General

Profile

feature request #9331

Distinguish DescriptionElementSource and NamedSource

Added by Andreas Müller 7 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Highest
Category:
cdm
Target version:
Start date:
11/25/2020
Due date:
% Done:

100%

Severity:
normal

Description

... NamedSource is now used in more cases and DescriptionElementSource should have a backlink to DescriptionElement

We need a common base class NamedSourceBase.
SecundumSource will also inherit from this base class.

copied from #6581


Related issues

Related to Edit - task #9330: Remove "NomenclaturalSource" from OriginalSourceType Closed 11/25/2020
Related to Edit - task #9536: Remove old single source citation and microCitation columns for secundum and DescriptionElementBase_OriginalSourceBase and TaxonName_NomenclaturalStatus Closed 03/17/2021
Copied from Edit - feature request #6581: Make all microreferenced references OriginalSources Closed 04/24/2017

Associated revisions

Revision f972ab15 (diff)
Added by Andreas Müller 3 months ago

ref #9331 adapt vaadin to NamedSource

Revision 5e67aad3 (diff)
Added by Andreas Müller 3 months ago

ref #9331 adapt vaadin test data to NamedSource

Revision bf4426c2 (diff)
Added by Andreas Müller 3 months ago

ref #9331 remove generics from OriginalSourceBase

Revision b93258bd (diff)
Added by Andreas Müller 3 months ago

ref #9331 add NamedSource and NamedSourceBase and use it, SecundumSource inherits from NamedSource

Revision 4329e9eb (diff)
Added by Andreas Müller 3 months ago

ref #9331 some final changes in model for NamedSourceBase et al.

Revision 77fa46a3 (diff)
Added by Andreas Müller 3 months ago

ref #9331 correct modelling for DescElem to Source and update script for DescElemSources

Revision f70e3cdb (diff)
Added by Andreas Müller 3 months ago

ref #9331 factory methods for NamedSource

Revision 4d32881a (diff)
Added by Andreas Müller 3 months ago

ref #9331 update test data for new DescriptionElementSource handling

Revision de50b58b (diff)
Added by Andreas Müller 3 months ago

ref #9331 improve deb handling in Cdm2CdmImportBase

Revision 369110a3 (diff)
Added by Andreas Müller 3 months ago

ref #9331 fix CCE in NomenclaturalSourceElement

Revision ceec0175 (diff)
Added by Andreas Müller 3 months ago

ref #9331 further taxeditor adaptations to NamedSourceBase

Revision 4cce7202 (diff)
Added by Andreas Müller 3 months ago

ref #9331 further taxeditor adaptations to NamedSourceBase (cont.)

History

#1 Updated by Andreas Müller 7 months ago

#2 Updated by Andreas Müller 3 months ago

  • Related to task #9330: Remove "NomenclaturalSource" from OriginalSourceType added

#3 Updated by Andreas Müller 3 months ago

  • Subject changed from Rename DescriptionElementSource to NamedSource to Distinguish DescriptionElementSource and NamedSource
  • Description updated (diff)
  • Status changed from New to In Progress
  • Priority changed from New to Highest
  • % Done changed from 0 to 10

#4 Updated by Andreas Müller 3 months ago

  • Description updated (diff)

#5 Updated by Andreas Müller 3 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 10 to 50

#6 Updated by Andreas Müller 3 months ago

  • Related to task #9536: Remove old single source citation and microCitation columns for secundum and DescriptionElementBase_OriginalSourceBase and TaxonName_NomenclaturalStatus added

#7 Updated by Andreas Müller 3 months ago

  • Assignee changed from Andreas Müller to Katja Luther
  • Target version changed from CDM UML 5.25 to Release 5.22
  • % Done changed from 50 to 70

This is generally solved and update script works now. The new class structure is now

OriginalSorceBase
|- NamedSourceBase (nameUsedInSource Attribut)
   |-NamedSource (kein weiteres Attr.)
   |-DescriptionElementSource  (DEB backlink)
   |-NomenclaturalSource  (TaxonName backlink)
   |-SecundumSource (TaxonBase backlink)
|-IdentifiableSource

Katja, can you please review if all casting in TaxEditor is done correctly (see my last 3 commits on this issue)

#8 Updated by Katja Luther 3 months ago

  • Status changed from Resolved to Closed
  • Assignee changed from Katja Luther to Andreas Müller
  • % Done changed from 70 to 100

The adaptions in editor work and the class structure looks good.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)