Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: du-it on October 26, 2005, 04:30:13 am

Title: Default constructor in forward engineering
Post by: du-it on October 26, 2005, 04:30:13 am
EA generates a default constructor. How can I prevent this? The user help tells me that I can set up this under Tools->Options->Local Options but I can't find th eplace to tell EA "Don't generate a default constructor".
(Target language is Java.)

How can I achieve this?

Thank you,
Dirk
Title: Re: Default constructor in forward engineering
Post by: mbc on October 26, 2005, 06:09:47 am
Haven't tried it with Java, but my guess is:
Tools->Options->Generation->Object Lifetimes and then uncheck the "Generate constructor" checkbox.

Mikkel