Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
You can use an Interaction element to insert an Interaction diagram as a child of a Class element. The Interaction element can contain a diagram of any of these types:
An Interaction element in Enterprise Architect is treated as a behavior of the classifier it is encapsulated within. It can have parameters and return types, which are modeled using the 'Behavior' tab of the Interaction element's 'Properties' dialog. The element is interpreted as a method of the containing Class in the generated code (see the Generate Code From Behavioral Model topic).
An Interaction element can also be set as the classifier for an Interaction Occurrence in a Sequence diagram, or for a Call Behavior Action in an Activity diagram. Establishing such an association (between a behavior and a behavior call) facilitates adding arguments that can be individually mapped to the associated behavior's parameters.
(The IO Class is available in the EAExample model, under Systems Engineering Model | Implementation Model | Software)