Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Inherited and Redefined Ports

A Port is a redefinable and re-useable property of a composite classifier such as a Component. A Component can inherit Ports from its parent; if a Component's parent owns Ports, when you open the Features window at the 'Interaction Points' tab for the Component and select the 'Show Owned/Inherited' checkbox, the inherited Ports and their named owners are listed.

If you want to show an inherited Port on a Component, the Features window provides two options:

  • Expose an inherited Port - tick the 'Show Owned/Inherited'checkbox to create a read-only copy of the Port; this is convenient for modeling Port interactions in child elements where the Ports are defined in the parent elements
  • Redefine an inherited Port - right-click on the Port and select the 'Redefine' option, to create an editable copy of the Port; this is useful where a child element places additional restrictions or behavior on the Port

This also applies to Components that inherit Ports from realized Interfaces, and to Component instances that inherit Ports from their classifying Component.

Learn more