Generate EMF GenModel not working for providerType [message #555478] |
Thu, 26 August 2010 13:34  |
Eclipse User |
|
|
|
Hi,
I am using the wonderful "Generate EMF GenModel" in Eugenia. I have added an annotation like this in hopes of setting the provider type to stateful for the class. It doesn't seem to take though.
@emf.gen(providerType="Stateful")
abstract class ProductEntity {
attr String entityName;
attr String entityId;
}
Ken
|
|
|
|
Re: Generate EMF GenModel not working for providerType [message #555629 is a reply to message #555608] |
Fri, 27 August 2010 08:33  |
Eclipse User |
|
|
|
Forgot to mention that in the meantime you can use an EOL polishing
script (Ecore2GenModel.eol file next to your .ecore metamodel) as a
workaround.
Cheers,
Dimitris
Dimitris Kolovos wrote:
> Hi Ken,
>
> It seems that enumeration values are not currently supported in all
> @emf.gen annotations - but this should be straightforward to fix. Could
> you please file a bug report and send the link here?
>
> Cheers,
> Dimitris
>
> Ken Sayers wrote:
>> Hi,
>>
>> I am using the wonderful "Generate EMF GenModel" in Eugenia. I have
>> added an annotation like this in hopes of setting the provider type to
>> stateful for the class. It doesn't seem to take though.
>>
>>
>> @emf.gen(providerType="Stateful")
>> abstract class ProductEntity {
>> attr String entityName;
>> attr String entityId; }
>>
>> Ken
|
|
|
Re: Generate EMF GenModel not working for providerType [message #593293 is a reply to message #555608] |
Fri, 27 August 2010 08:33  |
Eclipse User |
|
|
|
Forgot to mention that in the meantime you can use an EOL polishing
script (Ecore2GenModel.eol file next to your .ecore metamodel) as a
workaround.
Cheers,
Dimitris
Dimitris Kolovos wrote:
> Hi Ken,
>
> It seems that enumeration values are not currently supported in all
> @emf.gen annotations - but this should be straightforward to fix. Could
> you please file a bug report and send the link here?
>
> Cheers,
> Dimitris
>
> Ken Sayers wrote:
>> Hi,
>>
>> I am using the wonderful "Generate EMF GenModel" in Eugenia. I have
>> added an annotation like this in hopes of setting the provider type to
>> stateful for the class. It doesn't seem to take though.
>>
>>
>> @emf.gen(providerType="Stateful")
>> abstract class ProductEntity {
>> attr String entityName;
>> attr String entityId; }
>>
>> Ken
|
|
|
Powered by
FUDForum. Page generated in 0.03754 seconds