Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » using UML metaclasses within the extended metamodel
using UML metaclasses within the extended metamodel [message #476717] Fri, 07 December 2007 21:11 Go to next message
Manar El-Kady is currently offline Manar El-KadyFriend
Messages: 78
Registered: July 2009
Member
Hi,

I build a metamodel using the middleweight extension mechanism. I want
to define a metaclass that has nothing more than the Class metaclass,
except that I want to change its name from Class to Resource. could you
help me how to apply that case?

Moreover, I want to create an association between a metaclass in my own
metamodel and a UML metaclass. Is it possible? If yes, how can I do that?


Regards,
Manar
Re: using UML metaclasses within the extended metamodel [message #476762 is a reply to message #476717] Sat, 15 December 2007 15:20 Go to previous messageGo to next message
Manar El-Kady is currently offline Manar El-KadyFriend
Messages: 78
Registered: July 2009
Member
Hi,

I'd be appreciated if anyone could answer my questions.


thanks in advance,
Manar

Manar El-Kady wrote:
> Hi,
>
> I build a metamodel using the middleweight extension mechanism. I want
> to define a metaclass that has nothing more than the Class metaclass,
> except that I want to change its name from Class to Resource. could you
> help me how to apply that case?
>
> Moreover, I want to create an association between a metaclass in my own
> metamodel and a UML metaclass. Is it possible? If yes, how can I do that?
>
>
> Regards,
> Manar
Re: using UML metaclasses within the extended metamodel [message #476768 is a reply to message #476762] Mon, 17 December 2007 15:09 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Manar,

Sorry for the delayed response; James is on vacation...

Have you looked at the overview provided at
http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk.html?
It should be a simple matter of creating a metamodel that contains your
'Resource' metaclass with a generalization to the 'Class' metaclass from the
UML metamodel and with associations to the desired other metclasses in the
metamodel...

Kenn

"Manar El-Kady" <manar.elkady@gmail.com> wrote in message
news:fk0rb5$9jj$1@build.eclipse.org...
> Hi,
>
> I'd be appreciated if anyone could answer my questions.
>
>
> thanks in advance,
> Manar
>
> Manar El-Kady wrote:
>> Hi,
>>
>> I build a metamodel using the middleweight extension mechanism. I want to
>> define a metaclass that has nothing more than the Class metaclass, except
>> that I want to change its name from Class to Resource. could you help me
>> how to apply that case?
>>
>> Moreover, I want to create an association between a metaclass in my own
>> metamodel and a UML metaclass. Is it possible? If yes, how can I do that?
>>
>>
>> Regards,
>> Manar
Re: using UML metaclasses within the extended metamodel [message #476798 is a reply to message #476768] Fri, 21 December 2007 12:48 Go to previous messageGo to next message
Manar El-Kady is currently offline Manar El-KadyFriend
Messages: 78
Registered: July 2009
Member
Kenn,

I looked at this overview carefully. But, I want to do that using the
middleweight extension not by using the heavyweight mechanism. I want to
create an association between a metaclass in my own metamodel and a UML
metaclass. Is it possible? If yes, how can I do that?


Thanks in advance,
Manar


Kenn Hussey wrote:
> Manar,
>
> Sorry for the delayed response; James is on vacation...
>
> Have you looked at the overview provided at
> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk.html?
> It should be a simple matter of creating a metamodel that contains your
> 'Resource' metaclass with a generalization to the 'Class' metaclass from the
> UML metamodel and with associations to the desired other metclasses in the
> metamodel...
>
> Kenn
>
> "Manar El-Kady" <manar.elkady@gmail.com> wrote in message
> news:fk0rb5$9jj$1@build.eclipse.org...
>> Hi,
>>
>> I'd be appreciated if anyone could answer my questions.
>>
>>
>> thanks in advance,
>> Manar
>>
>> Manar El-Kady wrote:
>>> Hi,
>>>
>>> I build a metamodel using the middleweight extension mechanism. I want to
>>> define a metaclass that has nothing more than the Class metaclass, except
>>> that I want to change its name from Class to Resource. could you help me
>>> how to apply that case?
>>>
>>> Moreover, I want to create an association between a metaclass in my own
>>> metamodel and a UML metaclass. Is it possible? If yes, how can I do that?
>>>
>>>
>>> Regards,
>>> Manar
>
>
Re: using UML metaclasses within the extended metamodel [message #476800 is a reply to message #476798] Fri, 21 December 2007 13:15 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32491
Registered: July 2009
Senior Member
Manar,

I think you just use Load Resource... to load the UML resource with the
model you want to reference and then the classes in it will be available
to create associations in your model.


Manar El-Kady wrote:
> Kenn,
>
> I looked at this overview carefully. But, I want to do that using the
> middleweight extension not by using the heavyweight mechanism. I want
> to create an association between a metaclass in my own metamodel and a
> UML metaclass. Is it possible? If yes, how can I do that?
>
>
> Thanks in advance,
> Manar
>
>
> Kenn Hussey wrote:
>> Manar,
>>
>> Sorry for the delayed response; James is on vacation...
>>
>> Have you looked at the overview provided at
>> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk.html?
>> It should be a simple matter of creating a metamodel that contains
>> your 'Resource' metaclass with a generalization to the 'Class'
>> metaclass from the UML metamodel and with associations to the desired
>> other metclasses in the metamodel...
>>
>> Kenn
>>
>> "Manar El-Kady" <manar.elkady@gmail.com> wrote in message
>> news:fk0rb5$9jj$1@build.eclipse.org...
>>> Hi,
>>>
>>> I'd be appreciated if anyone could answer my questions.
>>>
>>>
>>> thanks in advance,
>>> Manar
>>>
>>> Manar El-Kady wrote:
>>>> Hi,
>>>>
>>>> I build a metamodel using the middleweight extension mechanism. I
>>>> want to define a metaclass that has nothing more than the Class
>>>> metaclass, except that I want to change its name from Class to
>>>> Resource. could you help me how to apply that case?
>>>>
>>>> Moreover, I want to create an association between a metaclass in my
>>>> own metamodel and a UML metaclass. Is it possible? If yes, how can
>>>> I do that?
>>>>
>>>>
>>>> Regards,
>>>> Manar
>>
>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: using UML metaclasses within the extended metamodel [message #625735 is a reply to message #476717] Sat, 15 December 2007 15:20 Go to previous message
Manar El-Kady is currently offline Manar El-KadyFriend
Messages: 78
Registered: July 2009
Member
Hi,

I'd be appreciated if anyone could answer my questions.


thanks in advance,
Manar

Manar El-Kady wrote:
> Hi,
>
> I build a metamodel using the middleweight extension mechanism. I want
> to define a metaclass that has nothing more than the Class metaclass,
> except that I want to change its name from Class to Resource. could you
> help me how to apply that case?
>
> Moreover, I want to create an association between a metaclass in my own
> metamodel and a UML metaclass. Is it possible? If yes, how can I do that?
>
>
> Regards,
> Manar
Re: using UML metaclasses within the extended metamodel [message #625741 is a reply to message #476762] Mon, 17 December 2007 15:09 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Manar,

Sorry for the delayed response; James is on vacation...

Have you looked at the overview provided at
http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk.html?
It should be a simple matter of creating a metamodel that contains your
'Resource' metaclass with a generalization to the 'Class' metaclass from the
UML metamodel and with associations to the desired other metclasses in the
metamodel...

Kenn

"Manar El-Kady" <manar.elkady@gmail.com> wrote in message
news:fk0rb5$9jj$1@build.eclipse.org...
> Hi,
>
> I'd be appreciated if anyone could answer my questions.
>
>
> thanks in advance,
> Manar
>
> Manar El-Kady wrote:
>> Hi,
>>
>> I build a metamodel using the middleweight extension mechanism. I want to
>> define a metaclass that has nothing more than the Class metaclass, except
>> that I want to change its name from Class to Resource. could you help me
>> how to apply that case?
>>
>> Moreover, I want to create an association between a metaclass in my own
>> metamodel and a UML metaclass. Is it possible? If yes, how can I do that?
>>
>>
>> Regards,
>> Manar
Re: using UML metaclasses within the extended metamodel [message #625773 is a reply to message #476768] Fri, 21 December 2007 12:48 Go to previous message
Manar El-Kady is currently offline Manar El-KadyFriend
Messages: 78
Registered: July 2009
Member
Kenn,

I looked at this overview carefully. But, I want to do that using the
middleweight extension not by using the heavyweight mechanism. I want to
create an association between a metaclass in my own metamodel and a UML
metaclass. Is it possible? If yes, how can I do that?


Thanks in advance,
Manar


Kenn Hussey wrote:
> Manar,
>
> Sorry for the delayed response; James is on vacation...
>
> Have you looked at the overview provided at
> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk.html?
> It should be a simple matter of creating a metamodel that contains your
> 'Resource' metaclass with a generalization to the 'Class' metaclass from the
> UML metamodel and with associations to the desired other metclasses in the
> metamodel...
>
> Kenn
>
> "Manar El-Kady" <manar.elkady@gmail.com> wrote in message
> news:fk0rb5$9jj$1@build.eclipse.org...
>> Hi,
>>
>> I'd be appreciated if anyone could answer my questions.
>>
>>
>> thanks in advance,
>> Manar
>>
>> Manar El-Kady wrote:
>>> Hi,
>>>
>>> I build a metamodel using the middleweight extension mechanism. I want to
>>> define a metaclass that has nothing more than the Class metaclass, except
>>> that I want to change its name from Class to Resource. could you help me
>>> how to apply that case?
>>>
>>> Moreover, I want to create an association between a metaclass in my own
>>> metamodel and a UML metaclass. Is it possible? If yes, how can I do that?
>>>
>>>
>>> Regards,
>>> Manar
>
>
Re: using UML metaclasses within the extended metamodel [message #625775 is a reply to message #476798] Fri, 21 December 2007 13:15 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32491
Registered: July 2009
Senior Member
Manar,

I think you just use Load Resource... to load the UML resource with the
model you want to reference and then the classes in it will be available
to create associations in your model.


Manar El-Kady wrote:
> Kenn,
>
> I looked at this overview carefully. But, I want to do that using the
> middleweight extension not by using the heavyweight mechanism. I want
> to create an association between a metaclass in my own metamodel and a
> UML metaclass. Is it possible? If yes, how can I do that?
>
>
> Thanks in advance,
> Manar
>
>
> Kenn Hussey wrote:
>> Manar,
>>
>> Sorry for the delayed response; James is on vacation...
>>
>> Have you looked at the overview provided at
>> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk.html?
>> It should be a simple matter of creating a metamodel that contains
>> your 'Resource' metaclass with a generalization to the 'Class'
>> metaclass from the UML metamodel and with associations to the desired
>> other metclasses in the metamodel...
>>
>> Kenn
>>
>> "Manar El-Kady" <manar.elkady@gmail.com> wrote in message
>> news:fk0rb5$9jj$1@build.eclipse.org...
>>> Hi,
>>>
>>> I'd be appreciated if anyone could answer my questions.
>>>
>>>
>>> thanks in advance,
>>> Manar
>>>
>>> Manar El-Kady wrote:
>>>> Hi,
>>>>
>>>> I build a metamodel using the middleweight extension mechanism. I
>>>> want to define a metaclass that has nothing more than the Class
>>>> metaclass, except that I want to change its name from Class to
>>>> Resource. could you help me how to apply that case?
>>>>
>>>> Moreover, I want to create an association between a metaclass in my
>>>> own metamodel and a UML metaclass. Is it possible? If yes, how can
>>>> I do that?
>>>>
>>>>
>>>> Regards,
>>>> Manar
>>
>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to use partition in uml2tool activity diagram
Next Topic:Add part in StructuredClassifier throw an exception
Goto Forum:
  


Current Time: Sat Sep 24 23:04:16 GMT 2022

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

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

Back to the top