|Element addition should be refined by References set [message #1039637]
||Fri, 12 April 2013 11:41
| Guillaume P.
Registered: June 2010
Location: Toulouse, France
Let suppose we had previously the following structure:|
(So here, A contains B and C)
If then I have
+- B <---+
+- C |
+- D ----+
(D, containing E and F, is added, and this D has a reference to B)
then I make a comparison, I will see 4 changes (if I well understood):
- Add D in A
- Add E in E
- Add F in F
- Set reference from D to B
For each addition, I won't have an AttributeChange for setting the attributes of each element added, but I will have a ReferenceChange for setting the reference from D to B. I understand that it's needed in order to be able to detect a conflict with a B deletion for instance (or an dependency with the B addition if B didn't exist before). But I would have think that, as E and F addition are refining D addition, this reference set should be refining the D addition. Instead of that, the required link is used.
What I firstly understood with the refine link is that it means that changes refining another change are like sub-parts of this change. And the containment as references should be part of the addition I think, not some of them (containment reference) a part while others are only related (simple reference).
Powered by FUDForum
. Page generated in 0.02118 seconds