Book a Demo

Author Topic: reverese engineer getter & setter property rules  (Read 2964 times)

Derek V

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
reverese engineer getter & setter property rules
« on: August 15, 2009, 03:30:50 am »
How can I change  the settings in EA so that when I reverse engineer Java code to UML, the property features are automatically set for attributes whose getter & setter methods are named by way of capitalizing the first letter of the attribute.

This:
myAttribute
getMyAttribute()
setMyAttribute()


Not this (which is used by default):
getmyAttribute()
setmyAttribute()

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: reverese engineer getter & setter property rul
« Reply #1 on: August 16, 2009, 03:25:15 am »
When you reverse engineer - from source code to UML - EA should only create methods (including getters and setters) that it finds in your code.

Regardless, there are options for naming these on the Tools | Options | Source Code Engineering dialog towards the bottom. Note that these are not on the language-specific pages under that dialog.
No, you can't have it!

Derek V

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: reverese engineer getter & setter property
« Reply #2 on: August 20, 2009, 12:27:29 am »
Thanks so much Midnight!!!  
That's exactly what I needed to know.

I was looking in the Java Source Code Engineering (not the General section).
« Last Edit: August 20, 2009, 12:28:21 am by derekvre »