Author Topic: generate getter and setter  (Read 3567 times)

drategon

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
generate getter and setter
« on: January 06, 2014, 01:52:56 pm »
I heard add the <<Property>> Stereotype to the attribute you want to create Getters and Setters. But, i tried and no success.
I found out there are 3 Property in the steraotype.
Any diffrence between them? which one to select?

same for java and c++

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2529
  • Karma: +33/-2
    • View Profile
Re: generate getter and setter
« Reply #1 on: January 06, 2014, 02:26:28 pm »
Don't add a stereotype. Open the attribute's Properties dialog and tick the "Property" checkbox.
The Sparx Team
support@sparxsystems.com

drategon

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: generate getter and setter
« Reply #2 on: January 06, 2014, 06:10:10 pm »
Thanks.