You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Kai Schlamp <sc...@gmx.de> on 2009/05/26 22:00:31 UTC

Work with ECore classes instead of the JCasGen generated classes

Hello.

I converted my UIMA type system to an Ecore model (with UimaTypeSystem2Ecore) and generated the 
classes by using a EMF Genmodel.
I wonder if it is somehow possible to add objects of those generated classes to the JCas. It doesn't 
seem to be possible, or?
The reason I want to do this, is because I want to persist the JCas (or better to say the 
annotations) to a database with the help of EMF/CDO.

Regards,
Kai


Re: Work with ECore classes instead of the JCasGen generated classes

Posted by Thilo Goetz <tw...@gmx.de>.
Kai Schlamp wrote:
> Hello.
> 
> I converted my UIMA type system to an Ecore model (with
> UimaTypeSystem2Ecore) and generated the classes by using a EMF Genmodel.
> I wonder if it is somehow possible to add objects of those generated
> classes to the JCas. It doesn't seem to be possible, or?

Correct, this is currently not possible.  And as far as
I know, nobody is working on it either.

> The reason I want to do this, is because I want to persist the JCas (or
> better to say the annotations) to a database with the help of EMF/CDO.
> 
> Regards,
> Kai