Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Abstraction, mapping reference is typed OpaqueExpression and not Expression(do i have to open a bug ?)
Abstraction, mapping reference is typed OpaqueExpression and not Expression [message #503150] Fri, 11 December 2009 08:01 Go to next message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 227
Registered: July 2009
Senior Member
In Eclipse UML Ecore file, the Abstraction EClass contains an Ereference named mapping typed OpaqueExpression.

In omg uml specification the Meta class Abstraction contains an attribute mapping typed Expression.

OpaqueExpression in Eclipse UML API doesn't inherits from Expression. So I don't understand why OpaqueExpression is used.

Is it normal? Why this type has been chosen ?
Re: Abstraction, mapping reference is typed OpaqueExpression and not Expression [message #503507 is a reply to message #503150] Mon, 14 December 2009 14:37 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Tristan,

You make a good point. To be honest, I'm not sure why it was implemented
this way. Could you log a defect on this so we don't loose track of this
one.
Thanks
- James.

"Tristan FAURE" <tristan.faure@atosorigin.com> wrote in message
news:hfsu93$6s6$1@build.eclipse.org...
> In Eclipse UML Ecore file, the Abstraction EClass contains an Ereference
> named mapping typed OpaqueExpression.
>
> In omg uml specification the Meta class Abstraction contains an attribute
> mapping typed Expression.
>
> OpaqueExpression in Eclipse UML API doesn't inherits from Expression. So I
> don't understand why OpaqueExpression is used.
>
> Is it normal? Why this type has been chosen ?
Re: Abstraction, mapping reference is typed OpaqueExpression and not Expression [message #505509 is a reply to message #503507] Thu, 31 December 2009 10:26 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
There seems to be an inconsistency in the spec.

Figure 7.15 on page 35 of 07-020-05 indicates the type of 'mapping' to be
OpaqueExpression, whereas the text later on states it should be
"Expression".

Cheers,

- James.

"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:hg5id1$hse$1@build.eclipse.org...
> Hi Tristan,
>
> You make a good point. To be honest, I'm not sure why it was implemented
> this way. Could you log a defect on this so we don't loose track of this
> one.
> Thanks
> - James.
>
> "Tristan FAURE" <tristan.faure@atosorigin.com> wrote in message
> news:hfsu93$6s6$1@build.eclipse.org...
>> In Eclipse UML Ecore file, the Abstraction EClass contains an Ereference
>> named mapping typed OpaqueExpression.
>>
>> In omg uml specification the Meta class Abstraction contains an attribute
>> mapping typed Expression.
>>
>> OpaqueExpression in Eclipse UML API doesn't inherits from Expression. So
>> I don't understand why OpaqueExpression is used.
>>
>> Is it normal? Why this type has been chosen ?
>
>
Re: Abstraction, mapping reference is typed OpaqueExpression and not Expression [message #628152 is a reply to message #503507] Thu, 31 December 2009 15:24 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
There seems to be an inconsistency in the spec.

Figure 7.15 on page 35 of 07-020-05 indicates the type of 'mapping' to be
OpaqueExpression, whereas the text later on states it should be
"Expression".

Cheers,

- James.

"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:hg5id1$hse$1@build.eclipse.org...
> Hi Tristan,
>
> You make a good point. To be honest, I'm not sure why it was implemented
> this way. Could you log a defect on this so we don't loose track of this
> one.
> Thanks
> - James.
>
> "Tristan FAURE" <tristan.faure@atosorigin.com> wrote in message
> news:hfsu93$6s6$1@build.eclipse.org...
>> In Eclipse UML Ecore file, the Abstraction EClass contains an Ereference
>> named mapping typed OpaqueExpression.
>>
>> In omg uml specification the Meta class Abstraction contains an attribute
>> mapping typed Expression.
>>
>> OpaqueExpression in Eclipse UML API doesn't inherits from Expression. So
>> I don't understand why OpaqueExpression is used.
>>
>> Is it normal? Why this type has been chosen ?
>
>
Previous Topic:Loading UML_21.ecore model from a standalone java app
Next Topic:Applying Stereotypes programatically returns IllegalArgumentException
Goto Forum:
  


Current Time: Sun Dec 21 02:00:44 GMT 2014

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

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