You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org> on 2007/06/21 19:26:26 UTC

[jira] Created: (UIMA-465) Need getViewIterator() method to work with a variable number of views

Need getViewIterator() method to work with a variable number of views
---------------------------------------------------------------------

                 Key: UIMA-465
                 URL: https://issues.apache.org/jira/browse/UIMA-465
             Project: UIMA
          Issue Type: Improvement
          Components: Core Java Framework
    Affects Versions: 2.2
            Reporter: Eddie Epstein


Based on user feedback, a common design pattern is for an annotator to want to process a set of Views in a CAS. Currently user code can do this using getSofaIterator() and testing each SofaFS to see if it matches the requirement. A simpler approach is to have a new method:

  Iterator getViewIterator(viewname)

where viewname represents a Sofa name prefix. As with Sofa mapping, this API would return all views with names matching viewname.*. Sofa mapping would be respected, so "viewname" could be mapped.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (UIMA-465) Need getViewIterator() method to work with a variable number of views

Posted by "Adam Lally (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Lally updated UIMA-465:
----------------------------

    Fix Version/s: 2.2

> Need getViewIterator() method to work with a variable number of views
> ---------------------------------------------------------------------
>
>                 Key: UIMA-465
>                 URL: https://issues.apache.org/jira/browse/UIMA-465
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.2
>            Reporter: Eddie Epstein
>            Assignee: Adam Lally
>             Fix For: 2.2
>
>
> Based on user feedback, a common design pattern is for an annotator to want to process a set of Views in a CAS. Currently user code can do this using getSofaIterator() and testing each SofaFS to see if it matches the requirement. A simpler approach is to have a new method:
>   Iterator getViewIterator(viewname)
> where viewname represents a Sofa name prefix. As with Sofa mapping, this API would return all views with names matching viewname.*. Sofa mapping would be respected, so "viewname" could be mapped.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (UIMA-465) Need getViewIterator() method to work with a variable number of views

Posted by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eddie Epstein closed UIMA-465.
------------------------------


> Need getViewIterator() method to work with a variable number of views
> ---------------------------------------------------------------------
>
>                 Key: UIMA-465
>                 URL: https://issues.apache.org/jira/browse/UIMA-465
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.2
>            Reporter: Eddie Epstein
>            Assignee: Eddie Epstein
>             Fix For: 2.2
>
>
> Based on user feedback, a common design pattern is for an annotator to want to process a set of Views in a CAS. Currently user code can do this using getSofaIterator() and testing each SofaFS to see if it matches the requirement. A simpler approach is to have a new method:
>   Iterator getViewIterator(viewname)
> where viewname represents a Sofa name prefix. As with Sofa mapping, this API would return all views with names matching viewname.*. Sofa mapping would be respected, so "viewname" could be mapped.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (UIMA-465) Need getViewIterator() method to work with a variable number of views

Posted by "Adam Lally (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Lally resolved UIMA-465.
-----------------------------

    Resolution: Fixed
      Assignee: Eddie Epstein  (was: Adam Lally)

Done.  Eddie, please review.

> Need getViewIterator() method to work with a variable number of views
> ---------------------------------------------------------------------
>
>                 Key: UIMA-465
>                 URL: https://issues.apache.org/jira/browse/UIMA-465
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.2
>            Reporter: Eddie Epstein
>            Assignee: Eddie Epstein
>             Fix For: 2.2
>
>
> Based on user feedback, a common design pattern is for an annotator to want to process a set of Views in a CAS. Currently user code can do this using getSofaIterator() and testing each SofaFS to see if it matches the requirement. A simpler approach is to have a new method:
>   Iterator getViewIterator(viewname)
> where viewname represents a Sofa name prefix. As with Sofa mapping, this API would return all views with names matching viewname.*. Sofa mapping would be respected, so "viewname" could be mapped.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (UIMA-465) Need getViewIterator() method to work with a variable number of views

Posted by "Adam Lally (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Lally reassigned UIMA-465:
-------------------------------

    Assignee: Adam Lally

> Need getViewIterator() method to work with a variable number of views
> ---------------------------------------------------------------------
>
>                 Key: UIMA-465
>                 URL: https://issues.apache.org/jira/browse/UIMA-465
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.2
>            Reporter: Eddie Epstein
>            Assignee: Adam Lally
>             Fix For: 2.2
>
>
> Based on user feedback, a common design pattern is for an annotator to want to process a set of Views in a CAS. Currently user code can do this using getSofaIterator() and testing each SofaFS to see if it matches the requirement. A simpler approach is to have a new method:
>   Iterator getViewIterator(viewname)
> where viewname represents a Sofa name prefix. As with Sofa mapping, this API would return all views with names matching viewname.*. Sofa mapping would be respected, so "viewname" could be mapped.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.