Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Public / Private + Interface implementation
Public / Private + Interface implementation [message #542886] Sun, 27 June 2010 06:59 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: June 2010
Junior Member
Hi,
1. How do i define in the Ecore editor a public operation and a private operation?

2. How do i define interface implementation?

Thanks

Re: Public / Private + Interface implementation [message #542922 is a reply to message #542886] Sun, 27 June 2010 14:22 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Comments below.

fatnjazzy@gmail.com wrote:
> Hi,
> 1. How do i define in the Ecore editor a public operation and a
> private operation?
Each EClass generally results in the generation of an interface and an
implementation each containing all the operations. Things in an
interface can only be public. No notion of access control is supported
by Ecore. There are annotations to suppress operations or feature
accessors from the interface.
>
> 2. How do i define interface implementation?
I'm not sure what this means. Maybe my previous statement answers this.
>
> Thanks
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Public / Private + Interface implementation [message #543064 is a reply to message #542886] Mon, 28 June 2010 10:06 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 27.06.2010 08:59, schrieb fatnjazzy@gmail.com:
> Hi,
> 1. How do i define in the Ecore editor a public operation and a private operation?
>
> 2. How do i define interface implementation?
Maybe you are looking for the "body" annotation in the GenModel. Ed answered this already: http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg2 1065.html

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:EMF transformations
Next Topic:Public / Private + Interface implementation
Goto Forum:
  


Current Time: Tue Apr 16 23:16:14 GMT 2024

Powered by FUDForum. Page generated in 1.90359 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top