feature request #8673
Allow OriginalSource to link to other CDM objects
100%
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
Associated revisions
fix #8673 Add CdmLinkSource to OriginalSourceBase
fix #8673 update TaxEditor test DB to CdmLinkSource changes
fix #8673 update Vaadin test DB to CdmLinkSource changes
ref #8673 add Cascade.Delete and orphanRemoval and handle getter/setter on target directly
ref #8673 Fix NPE for OriginalSourceBase.getCdmSource
ref #8673 Extend property path for CdmSources
ref #8673 Adapt portal to CdmSource for aggregation clones
ref #8673 make cdmSource Eager to avoid LIEs
ref #8673 Extend property path for CdmSources
ref #8673 Adapt portal to CdmSource eager loading
ref #8673 CdmLinkSourceBeanProsessor to serialize CdmLinkSource as TypedEntityReference
ref #8673 CdmLinkSourceBeanProsessor to serialize CdmLinkSource as TypedEntityReference
ref #8673 CdmLinkSourceBeanProsessor proper null handling
ref #8673 Adapt more specific description type
ref #8673 Fix description title display on taxon page
ref #8673 CdmLinkSourceBeanProsessor disabled and init strategy for cdmSource.target
ref #8673 Fix description title display on taxon page
History
#1 Updated by Andreas Müller about 1 year ago
- Status changed from New to Resolved
- % Done changed from 0 to 50
Applied in changeset cdmlib|93ad7e545dc77e63b68e434c62c8560a68bb9dfb.
#2 Updated by Andreas Müller about 1 year 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.
#3 Updated by Andreas Müller about 1 year ago
- Related to feature request #4719: [MASTER] Implement IntextReference added
#4 Updated by Patrick Plitzner about 1 year ago
- Assignee changed from Patrick Plitzner to Andreas Kohlbecker
#5 Updated by Andreas Müller about 1 year ago
We still need to check if the empty constructor of CdmLinkSource also could be protected. Patrick could you do this?
#6 Updated by Andreas Kohlbecker about 1 year 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
#7 Updated by Patrick Plitzner about 1 year 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
#8 Updated by Andreas Müller about 1 year ago
- Related to feature request #8686: Support CdmLink sources in bibliography added
#9 Updated by Andreas Müller about 1 year ago
- Related to feature request #8724: Allow OriginalSource to link to Taxon added