Book a Demo

Author Topic: How to that the tool is supposed to generate  (Read 3790 times)

svedloff

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
How to that the tool is supposed to generate
« on: March 23, 2004, 04:12:48 pm »
There seems to be some indication that the tool is supposed to generate getters and setters.  The tool is even nice enough to ask me whether I want my boolean getters to start with "is".  The only problem is, no getters and setters are actually being generated.  What am I doing wrong?  Once again, I would greatly appreciate a global solution, rather than having to go into every single class and change class-specific settings.

svedloff

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
How to generate getters and setters in Java?
« Reply #1 on: March 23, 2004, 04:15:03 pm »
My apologies, the original topic subject that I created did not make any sense.

Rob_M

  • EA User
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Re: How to that the tool is supposed to generate
« Reply #2 on: March 23, 2004, 05:25:19 pm »
Select Tools->options
Highlite Attribute/Operations

Is the "Generate Get/Set" checkbox selected?

Rob M.

svedloff

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: How to that the tool is supposed to generate
« Reply #3 on: March 23, 2004, 05:37:19 pm »
Thank you.  That checkbox was checked.  However, I noticed that there is an edit box that says "Default name for associated attrib", and what it contained was "m_$LinkClass".  We do not start our variables with "m_", so I changed it to "$LinkClass", hoping that it would work.  Unfortunately, it didn't.  Could it be that the problem is that we do not have a common prefix for our members?