Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Show Realized Interfaces of Class
If you are modeling interfaces that are directly realized by a Class, you can render each of those interfaces as a 'lollipop' style interface node, which protrudes from the left-hand side of the Class.
Consider this example:
The Bank Class realizes (or provides) the Internet Banking Interface. The diagram would be a useful depiction of this simple relationship if you wanted to populate the elements with visible features and properties. However, in more complex diagrams with more detailed realized (and dependent) interfaces, you might not want to show all the information defining each element. Therefore you can represent the realized interface as the 'lollipop' node, and remove the original Interface element from the diagram (but not from the model).
To depict the interfaces that a Class realizes as nodes, right-click on the Class and select 'Features | Show Realized Interfaces'. This setting only applies to the selected Class, and can be changed at any time. If you turn the option off, in the scenario here, neither the node nor the Interface element are shown. If you turn the option back on, the node redisplays.
- There are various mechanisms for showing that an interface is realized by one object and required by another, including using the Expose Interface element; however, the simplest method of representing such interactions is to create an Assembly connector between the 'realizing' object and the 'using' object