Author Topic: Generate getter and setter methods  (Read 911 times)

zeecher

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Generate getter and setter methods
« on: July 25, 2013, 09:31:54 pm »
How to auto-generate getters and setters in class diagram (for java)
Thanks

philchudley

  • EA User
  • **
  • Posts: 537
  • Karma: +9/-0
  • UML/EA Principal Consultant / Trainer
    • View Profile
Re: Generate getter and setter methods
« Reply #1 on: July 25, 2013, 09:50:33 pm »
Select the attribute
Click the Property check box
« Last Edit: July 25, 2013, 09:52:36 pm by philchudley »
follow me on Twitter

@SparxEAGuru

zeecher

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Generate getter and setter methods
« Reply #2 on: July 25, 2013, 10:07:19 pm »
Quote
Select the attribute
Click the Property check box
I have tried this, still not working...
Any ideas?

qwerty

  • EA Guru
  • *****
  • Posts: 9581
  • Karma: +167/-148
  • I'm no guru at all
    • View Profile
Re: Generate getter and setter methods
« Reply #3 on: July 25, 2013, 10:19:56 pm »
I can't help, but your chances will increase to get an answer if you describe what you do/expect and which version of EA you use.

q.

zeecher

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Generate getter and setter methods
« Reply #4 on: July 25, 2013, 10:33:40 pm »
Thanks, now it is working, I restarted the PC )

qwerty

  • EA Guru
  • *****
  • Posts: 9581
  • Karma: +167/-148
  • I'm no guru at all
    • View Profile
Re: Generate getter and setter methods
« Reply #5 on: July 25, 2013, 11:05:33 pm »
We all love this tool :-)

q.