Portfolio nodes currently contain a reference to their parent nodes, so changing one within a portfolio is not possible without changing the entire portfolio node graph. This may be used to map the logically unchanged nodes from one portfolio structure to nodes in another so that incremental operations may be performed.
If the {@link PortfolioNode} interfaces loses its {@link PortfolioNode#getParentNodeId} member, this should no longer be necessary.
Two nodes A and B are normally considered equivalent if their names match, their immediate child positions match, and there is an equivalence mapping of all of the child nodes of A to and from all of the child nodes of B.
|
|