Skip to main content

The figure is made of two subfigures, (a) and (b). Subfigure (a) shows the graphical representation of a component. The component is a rectangular box that contains the text, ‘MyComponent’. It also contains a graphical stereotype that identifies components. Attached to the component are two interfaces, represented as lines attached to the component. One is a provided interface named, ‘IProvided’, and is represented with a small empty circle at the end of the line. The other interface is a required interface named, ‘Irequired’, and is represented with a larger, empty half-circle at the end of the line. Subfigure (b) is an alternative representation of the same component. It is represented as a single rectangular box with two parts (top and bottom). The component’s name, ‘MyComponent’, is contained in the top part of the box together with the textual stereotype, ‘component’. The two interfaces are represented textually, inside the bottom part of the component box. The first interface is named, ‘IRequired’. A textual stereotype is attached to the interface and is named, ‘required’. The second interface is named, ‘IProvided’. A textual stereotype is attached to the interface and is named, ‘provided’.

 Components