Book a Demo

Author Topic: Serializable  (Read 3382 times)

ralf.sigmund

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Serializable
« on: July 11, 2007, 08:14:58 am »
Using roundtrip-engineering my EA-Classes now have the word "Serializable" added in the upper right corner of the Class-Box. This is the result of adding "implements Serializable" in Java and updating the model afterwards.
However there is no Interface Serializable in the UML-Model, the UML-Classes have no relation to such an Interface in the Link-tab.
How can I create new classes in the domain-model and have them also marked "Serializable" in the upper right corner?
best regards ralf

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Serializable
« Reply #1 on: July 11, 2007, 12:30:23 pm »

bobjones

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Serializable
« Reply #2 on: April 09, 2008, 06:59:29 am »
I've tried creating a Realisation connection both by using the Realizes connector, and by setting an Implements relation from the Set Parent dialog. In both cases, I see the realisation connection in the Links of both classes, and when I generate Java code it correctly includes the "implements MyInterface" modifier on the class declaration. But when I reverse engineer that same code, the connection is erased from the model. Can interfaces not be reverse engineered from Java?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Serializable
« Reply #3 on: April 09, 2008, 08:16:56 am »
They should be reverse engineered.

Could you please send in a bug report to sparx systems support?