consider this situation :
We have two Projects (A and B)
In project A, we have a usecase diagram that has a usecase with name UC1
in Project B, we have a Business Process diagram that has a Task with name T1 that has a Reference (with name IR1) to UC1.
Now i have access to IR1 object (an IReference object) and i want to find name of Project that has a model element that IR1 is referencing to it !!!
Actually the input is IR1 (i retrieve IR1 with: T1.toReferenceArray() ) and what i need is “ProjectB” (name of project that UC1 is inside it )
Some method like IR1.getparent() or IR1.getMasterView(0 or IR1.getMirrorSource() returns null value and can’t help me.
Do you have any idea about this ?