Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: AndrewDo on June 23, 2003, 09:22:45 am
-
Hi!
1. I create new class. Put it on class diagram. There is no methods in the class!!!
2. I generate java code (forward engineering) only for this class.
3. Then I view source code. There is a constructor and finalize method in the class.
4. I synchronize model (reverse engineering) and constructor and finalize method appear on the diagramm?????
Does anyone have some ideas?
Thank you!
-
AD,
Under 'Local Options', there is a selection called 'Object Lifetimes' (under the heading '[Code] Generation') where options to generate constructors & destructors automatically can be set/cleared. Your code generation options are apparently set to generate these methods.
Cheers,
Fred Woolsey