Book a Demo

Author Topic: Default constructor in forward engineering  (Read 2883 times)

du-it

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Default constructor in forward engineering
« 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

mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: Default constructor in forward engineering
« Reply #1 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