Re: ecore metamodel from an existing [message #472835] |
Mon, 30 April 2007 15:02 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Kelly,
These questions sounds very UML specific and I don't know how to answer
them. I'll add the UML newsgroup to the "to" list and hope they
understand your question.
Kelly Garcés wrote:
> Hello:
>
> I downloaded an UML.ecore from ATL site. However, i couldn't instantie
> it. I decided create my own UML metamodel. I didn't create
> PrimitivePackage only Core. So, when i am creating a model conforms to
> UML metamodel, i have to create Datatype(String, Long) for each model
> :(. Is it posible create preexisting datatypes (maybe from UML
> metamodel)?
> How?
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Re: ecore metamodel from an existing [message #472839 is a reply to message #472836] |
Mon, 30 April 2007 20:40 |
Kelly arcés Messages: 22 Registered: July 2009 |
Junior Member |
|
|
Dear James,
I need to create metamodels wich extend and/or restrict UML metamodel. As
i said in other posts, i couldn't use preexisting UML metamodel, so i
created i own UML metamodel (only core package). Later, i created others
metamodels (A,B,C) and loaded my UML metamodel. For example:
in 'A' metamodel i created 'BusinessElement' metaclass wich extends
'Class' of UML metamodel. Finally, i created a model ('aa') conforms to
'A' metamodel using generated EMF plugins. 'aa' model is input ATL
transformation.
When i create an model conforms to 'A' metamodel, i have to create
Datatype(String, Integer), but i would like preexisting datatypes... in
fact i would like to use preexisting UML metamodel (but i couldn't). what
shall i do?
Thanks in advance.
|
|
|
|
|
Re: ecore metamodel from an existing [message #614247 is a reply to message #472836] |
Mon, 30 April 2007 20:40 |
Kelly arcés Messages: 22 Registered: July 2009 |
Junior Member |
|
|
Dear James,
I need to create metamodels wich extend and/or restrict UML metamodel. As
i said in other posts, i couldn't use preexisting UML metamodel, so i
created i own UML metamodel (only core package). Later, i created others
metamodels (A,B,C) and loaded my UML metamodel. For example:
in 'A' metamodel i created 'BusinessElement' metaclass wich extends
'Class' of UML metamodel. Finally, i created a model ('aa') conforms to
'A' metamodel using generated EMF plugins. 'aa' model is input ATL
transformation.
When i create an model conforms to 'A' metamodel, i have to create
Datatype(String, Integer), but i would like preexisting datatypes... in
fact i would like to use preexisting UML metamodel (but i couldn't). what
shall i do?
Thanks in advance.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04758 seconds