uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Updated] (UIMA-5552) uv3: Get JCas instance in JCas class
Date Fri, 08 Sep 2017 20:59:02 GMT

     [ https://issues.apache.org/jira/browse/UIMA-5552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Marshall Schor updated UIMA-5552:
    Fix Version/s: 3.0.0SDK-beta

> uv3: Get JCas instance in JCas class
> ------------------------------------
>                 Key: UIMA-5552
>                 URL: https://issues.apache.org/jira/browse/UIMA-5552
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 3.0.0SDK-beta
>            Reporter: Richard Eckart de Castilho
>             Fix For: 3.0.0SDK-beta
> In the new JCas FS classes, it is no longer possible to access the JCas instance conveniently.
With UIMA v2, is was possible to get the JCas containing a feature structure via `jcasType.jcas`.
Now, one has to do a `getCAS().getJCas()` but that requires catching a CASException. It would
be nice to have a convenience method `getJCas()` in JCas FS classes that does not throw an

This message was sent by Atlassian JIRA

View raw message