melange icon indicating copy to clipboard operation
melange copied to clipboard

K3 Sets are translated to EOperations when generating the language runtime

Open ebousse opened this issue 8 years ago • 17 comments

Hello :)

I have an Ecore file with an EClass Transformation, and I used K3 to define an aspect that look like this:

@Aspect(className=Transformation)
class TransformationAspect {
    public val Set<EObject> inputModel = new HashSet;
    ...

When I use Melange to generate the language runtime, the output look like that:

pb-melange-eoperation

The result is an EOperation inputModel. would it be possible instead to have a EReference with upperBound=-1, ordered=false and unique=true?

ebousse avatar Sep 26 '16 08:09 ebousse