Project

General

Profile

Actions

feature request #8673

closed

Allow OriginalSource to link to other CDM objects

Added by Andreas Müller over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
New
Category:
cdm
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
critical

Description

Currently links are only available to Reference and (external) URIs. However, especially for adding sources to aggregated data it is a requirement to also link to other CDM objects such as (Specimen- or Taxon-) Descriptions.

The problem is that adding a link to each Cdm Object will make the class very large. A solution might be to use the same principle as for IntextReferences (#4719), having an in-between class "CdmLink" which allows links to a number of CdmBase classes and which is referred from OriginalSource. It could be even merged with the IntextReference implementation.


Related issues

Related to EDIT - feature request #4719: [MASTER] Implement IntextReferenceNewAndreas Müller

Actions
Related to EDIT - feature request #8686: Support CdmLink sources in bibliographyClosedAndreas Kohlbecker

Actions
Related to EDIT - feature request #8724: Allow OriginalSource to link to TaxonClosedAndreas Müller

Actions
Related to EDIT - bug #9801: Orphan removal does not work correctly for CdmLinkSourceNewAndreas Müller

Actions
Actions #1

Updated by Andreas Müller over 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #2

Updated by Andreas Müller over 4 years ago

  • Assignee changed from Andreas Müller to Patrick Plitzner

Can you please review?

Please also have in mind that webservices should not deliver the full cdmobject and maybe even not the CdmLinkSource object at all but only the OriginalSourceBase.cdmSource attribute formatted as TypedEntity(?). Maybe we can implement this within this ticket. Otherwise open new one.

Actions #3

Updated by Andreas Müller over 4 years ago

Actions #4

Updated by Patrick Plitzner over 4 years ago

  • Assignee changed from Patrick Plitzner to Andreas Kohlbecker
Actions #5

Updated by Andreas Müller over 4 years ago

We still need to check if the empty constructor of CdmLinkSource also could be protected. Patrick could you do this?

Actions #6

Updated by Andreas Kohlbecker over 4 years ago

  • Assignee changed from Andreas Kohlbecker to Patrick Plitzner

CdmLinkSourceBeanProsessor implemented but cannot test since i can't find data with CdmLinkSource

@Patrick: please review

Actions #7

Updated by Patrick Plitzner over 4 years ago

  • Status changed from Resolved to Closed
  • Assignee changed from Patrick Plitzner to Andreas Müller
  • % Done changed from 50 to 100

works as expected

Actions #8

Updated by Andreas Müller over 4 years ago

Actions #9

Updated by Andreas Müller over 4 years ago

Actions #10

Updated by Andreas Müller over 2 years ago

  • Related to bug #9801: Orphan removal does not work correctly for CdmLinkSource added
Actions

Also available in: Atom PDF