|
Re: Primitive Types - UML to EMF Generation [message #477106 is a reply to message #477104] |
Wed, 19 March 2008 09:00 |
Ed Merks Messages: 33133 Registered: July 2009 |
Senior Member |
|
|
Suzette,
There's an Ecore profile you can apply and then use that to specify
things specific to Ecore (like instance class names).
Suzette Samoojh wrote:
> I need to add custom Primitive Types and map those to concrete Java classes
> when I generate an ecore. How do I go about doing so? Everything I've tried
> so far hasn't worked.
>
> With Rose I would stereotype my primitive type as a <<datatype>> and add the
> java class as an attribute. I've tried doing the same here, but that didn't
> work. Only the predefined primitive types generate correctly for me.
>
> Thanks,
> Suzette Samoojh
>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Primitive Types - UML to EMF Generation [message #626242 is a reply to message #477104] |
Wed, 19 March 2008 09:00 |
Ed Merks Messages: 33133 Registered: July 2009 |
Senior Member |
|
|
Suzette,
There's an Ecore profile you can apply and then use that to specify
things specific to Ecore (like instance class names).
Suzette Samoojh wrote:
> I need to add custom Primitive Types and map those to concrete Java classes
> when I generate an ecore. How do I go about doing so? Everything I've tried
> so far hasn't worked.
>
> With Rose I would stereotype my primitive type as a <<datatype>> and add the
> java class as an attribute. I've tried doing the same here, but that didn't
> work. Only the predefined primitive types generate correctly for me.
>
> Thanks,
> Suzette Samoojh
>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02349 seconds