Ticket #266 (closed Enhancement: fixed)
Core: the "association" part of a RelatedTopic is not serialized
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.1 |
Component: | DeepaMehta Standard Distribution | Version: | 4.0.11 |
Keywords: | Cc: | dgf, Malte | |
Complexity: | 2 | Area: | Application Framework / API |
Module: | deepamehta-core |
Description
Change History
comment:1 Changed 12 years ago by jri
- Cc Malte added
- Status changed from new to accepted
- Complexity changed from 3 to 2
comment:2 Changed 12 years ago by Jörg Richter
- Status changed from accepted to closed
- Resolution set to fixed
Core: serialize RelatedTopic?'s "assoc" part (#266)
The Association part of a RelatedTopic? is serialized as an additional "assoc" property of the topic.
Example of a Topic serialization:
{ "id": 2787, "uri": "", "type_uri": "dm4.notes.title", "value": "N1", "composite": {}, "assoc": { "id": 2792, "uri": "", "type_uri": "dm4.core.composition", "value": "", "composite": {}, "role_1": { "topic_id": 2765, "role_type_uri": "dm4.core.whole" }, "role_2": { "topic_id": 2787, "role_type_uri": "dm4.core.part" } } }
A RelatedTopic? is a Topic-Association pair.
Various of the traversal methods return a set of RelatedTopics?.
Close ticket 266.
Note: See
TracTickets for help on using
tickets.