Generating Java code that implements Serializable

General discussions about code engineering

Moderator: Moderators

Generating Java code that implements Serializable

Postby george.foster@ieee.org » Fri May 08, 2020 1:38 pm

I am using MagicDraw 19.0 SP2 (SP3 doesn't work with our version of TW Cloud).

I have an Interface named MessageContent that I would like to be Serializable when I generate code in Java. How would I convince MagicDraw to add the "extends Serializable" to my generated Java code MessageContent.java?

I would prefer to not hard code the association to something in rt.jar on the model side that might not translate well to C++ if someone else generated a C++ version of the classes.

Thanks!
george.foster@ieee.org
Forum Newbie
Forum Newbie
 
Posts: 12
Posts Rating:0
Joined: Mon Feb 10, 2014 3:54 pm

Return to Code engineering

Who is online

Users browsing this forum: No registered users and 0 guests