Book a Demo

Author Topic: Code generation : Port implementation  (Read 3598 times)

STEPHANE N.

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Code generation : Port implementation
« on: September 25, 2015, 08:13:45 pm »
Hello,
I am a new user of EA.
So I want to know if code generation of port is really implemented on EA.
I have added a port to some class in my Class diagram but in code generation they don't appear.
Please could you share your experience on it with me.

Thanks in adavance
Stephane

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Code generation : Port implementation
« Reply #1 on: September 28, 2015, 08:36:34 am »
Code generation doesn't use ports. You'll need to create attributes.

STEPHANE N.

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Code generation : Port implementation
« Reply #2 on: September 28, 2015, 04:23:11 pm »
Hello,

Thanks  for your answer. I want to implement a system with interfaces (for establishing communication between elements of my system) in EA, how should I do it in EA ?

STEPHANE N.

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Code generation : Port implementation
« Reply #3 on: September 28, 2015, 06:13:34 pm »
Hi, just for adding some thing :
In another modeler, I made a system where all the elements communicate by using ports and interfaces. So when there was a modification in a "provided" interface, the "required" one had a notification. I don't really see how to make it in EA and simulate that.