Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5233

uv3 backwards compatibility - add nonJCas built-in cover classes back

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0SDK-alpha
    • Core Java Framework
    • None

    Description

      UIMA v2 implemented for built-ins, 2 kinds of Java cover classes. One was "JCas" the other not. Users not using the JCas could make use of the other style. V3 has only one style, and uses JCas versions for the actual Feature Structure Implementation.

      Create interfaces for the non-JCas style, and supply them with default methods that cast "this" to the JCas style actually being used.

      Arrange the hierarchy to follow v2 where possible. Take out new v3 upper hierarchy common classes where a v2 class already exists; use that class instead (with appropriate casting as above) - so that V2 code that uses these continues to work.

      Update the docs: remove the part which says users have to rename the non-JCas class uses to the JCas ones (will no longer be required).

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: