Marshall Schor created UIMA-5233: ------------------------------------ Summary: uv3 backwards compatibility - add nonJCas built-in cover classes back Key: UIMA-5233 URL: https://issues.apache.org/jira/browse/UIMA-5233 Project: UIMA Issue Type: Improvement Components: Core Java Framework Reporter: Marshall Schor Assignee: Marshall Schor Priority: Minor Fix For: 3.0.0SDKexp
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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)