EOperation model parameters [message #1251670] |
Thu, 20 February 2014 08:20  |
Eclipse User |
|
|
|
Dear Eclipse community members,
i'm creating an Eclipse-plugin to translate an EMF-model in Next. For this i have a question about an EOperation. What describe the model parameters (many, required, ordered, unique, lower/upper bound, required) of an eop?
Thank you in advance,
Daniel
|
|
|
Re: EOperation model parameters [message #1251691 is a reply to message #1251670] |
Thu, 20 February 2014 08:49  |
Eclipse User |
|
|
|
Daniel,
Comments below.
On 20/02/2014 2:20 PM, Daniel Tahin wrote:
> Dear Eclipse community members,
>
> i'm creating an Eclipse-plugin to translate an EMF-model in Next. For
> this i have a question about an EOperation. What describe the model
> parameters (many, required, ordered, unique, lower/upper bound,
> required) of an eop?
Essentially the same as they do for a feature. But most of these things
are about constraints and have no impact on the actual visible
signature. Note that many and required are derived from upper and lower
bound, so aren't really significant. Only the upper bound affects the
signature, i.e., if upperBound isn't 1 (then isMany is true) then an
EList of the operation's type will be returned, not just a single
value. You can best answer these kinds of questions by experimenting
with an Ecore model and see what's generated for these things.
>
> Thank you in advance,
> Daniel
>
|
|
|
Powered by
FUDForum. Page generated in 0.25144 seconds