inner class [message #540486] |
Wed, 16 June 2010 11:08 |
sgr Messages: 1 Registered: June 2010 |
Junior Member |
|
|
Hi,
I created my class diagram using UML plug-in in Eclipse. I have a class that has a inner class. The visibility of the inner class is Private. When I use this UML model to generate code in EFM, it creates a separate class out of the inner class with public visibility (I mean outside of the main class).
Does any has any idea?
sgr
[Updated on: Wed, 16 June 2010 11:09] Report message to a moderator
|
|
|
Re: inner class [message #540536 is a reply to message #540486] |
Wed, 16 June 2010 13:02 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
Sgr,
Ecore has no concept of access---all things are public---nor any concept
of class nesting.
sgr wrote:
> Hi,
>
> I created my class diagram using UML plug-in in Eclipse. I have a
> class that have a inner class. The visibility of the inner class is
> Private. When I use this UML model to generate code in EFM, it creates
> a separate class out of the inner class with public visibility (I mean
> outside of the main class).
>
> Does any has any idea?
>
> sgr
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03445 seconds