Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content layer
id1361690494
Content column
id1361690515
Content block
id1361690505

To get Incoming Associations of a Class


  1. Right-click a Class element and open the Specification window > Traceability > Create.
  2. Set the Name to 'Incoming associations'.
  3. Click Create operation > Filter.

    Note

    If you cannot see the Filter operation under Operations, make sure the Expert mode is enabled.


  4. Select Input > Metachain Navigation.
  5. Click Insert
  6. Under Metaclass or Stereotype, select Class, and under Property, select _associationOfEndType.
    Image Modified
  7. Select Predicate > Operation from Model > Equals.
    Image Modified
  8. Select A > Metachain Navigation
    Image Modified 
  9. Click Insert
  10. Under Metaclass or Stereotype, select Property, and under Property, select Type.
    Image Modified
  11. Select Context > Reset.
    Image Modified
  12. Select Context > Filter.
    Image Modified
  13. Select Input > Simple Navigation. Select Member End and set Is Applied to true, and Direction to Source To Target
    Image Modified

    Note

    If you cannot see the Member Endproperty, make sure the 'Show relations criteria available only for context' check box is not selected.


  14. Select Predicate > Nested Operation
    Image Modified
  15. Select Body > Simple Navigation. Select isNavigable() (Port) and set Is Applied to true, and Direction to Source To Target.
    Image Modified
  16. Select B > Contextual Variable. Set the Value to THIS.
    Image Modified
  17. Click OK.