You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (Jira)" <de...@uima.apache.org> on 2022/03/09 10:07:00 UTC

[jira] [Updated] (UIMA-6421) Can inject String value into StringArray slot

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

Richard Eckart de Castilho updated UIMA-6421:
---------------------------------------------
    Component/s: Core Java Framework

> Can inject String value into StringArray slot
> ---------------------------------------------
>
>                 Key: UIMA-6421
>                 URL: https://issues.apache.org/jira/browse/UIMA-6421
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Major
>             Fix For: 3.3.0SDK
>
>
> Via the CAS API, it is possible to inject a {{String}} value into a {{StringArray}} feature slot - probably into any other slot as well.
> * Define a type with a {{StringArray}} valued feature
> * Create an instance of the type using {{CAS.createAnnotation}}
> * Set a the feature value on the a annotation using {{Annotation.setStringValue(...)}}
> * Try fetching the feature value using {{Annotation.getFeatureValue}}
> When setting a value on a slot, it should be checked if the value is suitable for the slot.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)