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
- Go to the Window > Preferences menu
- Select the Modelling > UML diagrams > Component branch of the tree.
- 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.
Was this topic helpful?
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