Project

General

Profile

feature request #6361

[MASTER] Merge all TaxonName classes into 1 class

Added by Andreas Müller almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
New
Category:
cdm
Target version:
Start date:
01/21/2017
Due date:
% Done:

100%

Estimated time:
(Total: 34.00 h)
Severity:
normal

Description

This gives more flexibility to change name types and reduces class casting overheads and exceptions. At the same time it requires validation for rules that were originally implemented via class hierarchy.

Tasks might be

  • Move all functionality from NonViralName to TaxonNameBase #6360
  • Create interface for NonViralName #6369
  • Remove occurrence of NonViralName in code #6362
  • Implement validation rules for NonViralNames
  • Do the same for ViralNames
  • Do the same for Botanical, Zoological, Bacterial Names
  • Do the same for Cultivars
  • Make validation framework fully running or implement validation rules as Level1 rules
  • Unify CacheStrategies
  • Adapt parser if necessary
  • Make NomenclaturalCode a type attribute of TaxonName (as IEnumTerm)
  • Adapt model to have only one class called TaxonName

Also check occurrence in applicationContext-testWithConfigurableNameCacheStrategyGenerators.xml


Subtasks

task #6360: Move NonViralName functionality to TaxonNameBaseClosedAndreas Müller

task #6362: Remove occurrence of NonViralName in codeClosedAndreas Müller

feature request #6363: Implement validation rules for all names according to their codeClosedAndreas Müller

task #6364: Merge viral names and bacterial names into TaxonNameBaseClosedAndreas Müller

bug #6365: Merge botanical and zoological names into TaxonNameBaseClosedAndreas Müller

task #6366: Merge cultivar names into TaxonNameBaseClosedAndreas Müller

feature request #6367: Make NomenclaturalCode an attribute ("type") of TaxonNameBaseClosedAndreas Müller

feature request #6368: Merge all TaxonNameBase classes, remove DTYPE, rename tableClosedAndreas Müller

feature request #6369: Create interfaces for TaxonName typesClosedAndreas Müller

task #6370: Remaining issues to merge all TaxonNameBase subclassesRejectedAndreas Müller

bug #6409: Fix failing Level3 validation in ValidationTest introduced by removing TaxonNameBase subclassesClosedAndreas Müller

task #6445: Remove occurrence of NonViralName in external applications (TaxEditor etc.)ClosedAndreas Müller

bug #6446: Merge botanical and zoological names into TaxonNameBase in external applicationsClosedAndreas Müller

task #6630: Unify TaxonName cache strategiesClosedAndreas Müller

task #6671: Remove generics from TaxonNameClosedAndreas Müller

feature request #6700: Adapt dataportal to TaxonName model changesClosedAndreas Kohlbecker

task #6717: Rename taxonNameBaseTitleCacheIndex and taxonNameBaseNameCacheIndexClosedAndreas Müller


Related issues

Related to Edit - feature request #6501: Improve validation rules for name types New 03/13/2017
Related to Edit - feature request #6692: Make name types changeable Closed 06/05/2017
Related to Edit - feature request #6691: Implement all name types in NameDetailElement Duplicate 06/05/2017
Related to Edit - feature request #6950: Alllow the usage of Viral Names New 09/15/2017
Related to Edit - feature request #6693: Implement missing nomenclatural codes for name detail element Closed 06/06/2017
Duplicated by Edit - feature request #2949: Simplify TaxonName classes Duplicate 07/06/2012

Associated revisions

Revision 507f0758 (diff)
Added by Andreas Müller over 1 year ago

ref #6361 refactor update script for taxon name merge

Revision 08f2d5e5 (diff)
Added by Andreas Kohlbecker 12 months ago

ref #6361 removing TaxonName.DTYPE and Reference.DTYPE
- changing dbscripts/001-cdm.h2.sql
- adapting test data sets

Revision ccee2a99 (diff)
Added by Andreas Müller 7 months ago

ref #6361 try to fix LSIDAuthority_namespaces for TaxonName

History

#1 Updated by Andreas Müller almost 2 years ago

#2 Updated by Andreas Müller almost 2 years ago

  • Description updated (diff)

#3 Updated by Andreas Müller almost 2 years ago

  • Description updated (diff)

#4 Updated by Andreas Müller almost 2 years ago

  • Description updated (diff)

#5 Updated by Andreas Müller almost 2 years ago

  • Description updated (diff)

#6 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Unassigned CDM tickets to CDM UML 4.7

#7 Updated by Andreas Müller almost 2 years ago

  • Status changed from New to In Progress

#8 Updated by Andreas Müller over 1 year ago

#9 Updated by Andreas Müller over 1 year ago

#10 Updated by Andreas Müller over 1 year ago

#11 Updated by Andreas Müller over 1 year ago

  • Status changed from In Progress to Resolved

#12 Updated by Andreas Müller over 1 year ago

  • Description updated (diff)

#13 Updated by Andreas Müller over 1 year ago

  • Status changed from Resolved to Closed

#14 Updated by Andreas Müller about 1 year ago

#15 Updated by Andreas Müller about 1 year ago

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)