Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Derek V on August 15, 2009, 03:30:50 am

Title: reverese engineer getter & setter property rules
Post by: Derek V 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()
Title: Re: reverese engineer getter & setter property rul
Post by: «Midnight» 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.
Title: Re: reverese engineer getter & setter property
Post by: Derek V 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).