Book a Demo

Author Topic: how to generate getters and setters  (Read 3173 times)

curvers

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
how to generate getters and setters
« on: October 20, 2012, 07:23:57 pm »
how can i generate public getters and setters for a class with private members (properties)

ty!

alex

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: how to generate getters and setters
« Reply #1 on: October 20, 2012, 08:45:58 pm »
Use public attributes and mark them with stereotype <<property>>.

HTH
Günther
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/