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

Generate static fields for type names and feature names in JCas wrappers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.1SDK
    • 3.0.0SDK-beta
    • Core Java Framework
    • None

    Description

      It would be convient if the JCas wrapper generator would create static final String fields for feature names and for the type name, e.g.

      public static final String TYPE_NAME = "my.jcastypes.Type";

      public static final String FEAT_BEGIN = "begin";

      This would allow cleaner programming with JCas wrappers in cases where the names are required. In particular it would allow to detect certain errors at compile-time and facilitate refactoring.

      Attachments

        Issue Links

          Activity

            People

              schor Marshall Schor
              rec Richard Eckart de Castilho
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: