IBM Support

How to add required/provided interfaces onto a component diagram

Question & Answer


Question

How do you add provided and required interfaces using the white-box lollipop and socket notation in IBM Rational Software Modeler and IBM Rational Software Architect?

Cause

You are not able to include provided and required interfaces to component diagrams.

Answer

In order to add required and provided interfaces, you first have to enable External views on component diagrams.

To do this

  1. Go to the Window > Preferences menu
  2. Select the Modelling > UML diagrams > Component branch of the tree.
  3. Check the Show External View on components box

Now when you go to your component diagram, you can add your component from the component palette.

You can then add an unspecified port to your component from the composite structures palette and finally add the required/provided interface (create interface) to this port from the composite structures palette.

[{"Product":{"code":"SS4JE2","label":"Rational Software Architect Standard Edition"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Modeling: Diagrams","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.1;7.5.2;7.5.3;7.5.4;7.5.5","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.1;7.5.2;7.5.3;7.5.4;7.5.5","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}},{"Product":{"code":"SSCLKU","label":"Rational Software Modeler"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"7.5;7.5.1;7.5.2;7.5.3;7.5.4;7.5.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

More support for:
Rational Software Architect Standard Edition

Software version:
7.5, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5

Operating system(s):
Linux, Windows

Document number:
126459

Modified date:
29 September 2018

UID

swg21403595