So I'm trying to emulate the functionality of DDI within the alfresco content model (in summary; DDI is a data metadata modelling system loosely based on graph concepts, such as RDF).
One of the things I'm trying to do is implement version persistence for alfresco nodes.
E.g.
I have two alfresco nodes; nA and nB which are of types tA and tB respectively. Both nodes are at version 1.0. There is an association between nA and nB which implies that nB is a child of nA. When I edit nB and it becomes v2.0, nA also gets updated and becomes v2.0 (because of a custom behaviour).
What I'm wondering is; is there a way to make it so that the association works for the specific versions of the nodes.
I.e.
when I view nA v1.0, it has an association to nB v1.0. When I view nA v2.0, it has an association to nB v2.0?