Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Jeanluc on April 14, 2005, 06:41:53 am
-
Hi,
When I generate getter/setter property , the default scope is public. Is it possible to set private in default ?
Regards,
Jean-Luc !
-
I thought usually the point of a getter/setter was to be a public interface ...? but don't let this stop you asking the question !
I can imagine you might want to manage access to an attribute even among private functions/methods.
-
If I need to generate private getter/setter, it's to manage delphi property access. But perhaps is it a better method to generate delphi property ?
-
No, there isn't any way to set the default scope for properties to anything other than public.
Simon