Book a Demo

Author Topic: Ports/Interfaces in a composite structure diagram  (Read 14093 times)

Samsara

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Ports/Interfaces in a composite structure diagram
« on: August 16, 2010, 11:13:20 pm »
Hello everybody,

first of all I have to mention that I'm a complete rooky to UML and enterprise architect.

I'm right now in the process of trying to describe a SW design of an embedded implementation in C.

I have a setup of different components.

Each component consists of some classes (class = module in c). Within a composite structure diagram I want to show the dependencies between the interfaces of the component and the classes within. It works fine within the composite structure diagramm since I can put the interfaces, ports and classes and assign the dependencies. The problem now is, that the connected interfaces won't show up in a component diagram (since I connected the interfaces with the ports and not the component). But I want to display the usage of the interfaces and dependencies of the different components in the component diagram. If drag&drop the interfaces into the component diagramm and add the dependency manually I get dubbled arrows within the composite structure diagram since ep adds the arrows directly between the interface and the component not using the designed port.

Do I missunderstand something here or is there a different way of displying the connections?

I would be happy If anybody could help here a little.

Best regards

Samsara

Samsara

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Ports/Interfaces in a composite structure diag
« Reply #1 on: August 19, 2010, 04:27:55 pm »
If there are things that can't be understood, please feel free to ask.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Ports/Interfaces in a composite structure diag
« Reply #2 on: August 19, 2010, 04:52:54 pm »
Quote
The problem now is, that the connected interfaces won't show up in a component diagram (since I connected the interfaces with the ports and not the component).

How do you mean they won't show up? What happens if you drag them onto your diagram?

Maybe a screenshot of your current diagram might help to explain.

Geert

DanG83616

  • EA User
  • **
  • Posts: 180
  • Karma: +0/-0
    • View Profile
Re: Ports/Interfaces in a composite structure diag
« Reply #3 on: September 30, 2010, 04:04:07 pm »
I usually start with the component definition and create a "pin-out" of the component. That pin-out diagram depicts the external interfaces of the component: provided and required interfaces for mode setting along with flow ports for data flow in/out. Each pin is a port adorned with either a "lolly-pop", a "socket" or an arrow. I use the composite structure diagram to show the internals. Each pin has to be connected to an internal object (instance of a class or component) using a delegation association. The internal objects are also interconnected (port-to-port) as required to satisfy the external interface requirements. This depiction shows what objects make up the component, how the data flows and which object controls with other object. It is a static schematic of control and data connections.

I could have just said to use delegation to specify the dependency between a port on the component and a object (instance of class) inside.

Dan