This should work:

jcas.getCasType(Entity.type)

-Marshall

Ekaterina Buyko wrote:
> Hi!
>
> In my scenario I need to provide the instance of the type uima.cas.Type.
> Curretly I create first an example object and then I ask its type:
>
> Entity entity = new Entity(jcas);
> Type entityType = entity.getType();
>
> Is there an other way to receive the entityType without explicit creation of 
> an
> example object if I know exactly the type I need?
>
> Thank you!
>
> Katja
>
>
>
> ----------------------------------------------------------------
> This mail was sent through http://webmail.uni-jena.de
>
>
>   

Reply via email to