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 2013/01/26 00:09:13 UTC

[jira] [Resolved] (UIMA-2587) @ConfigurationParameter - name should default to name of annotated field without class name

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

Richard Eckart de Castilho resolved UIMA-2587.
----------------------------------------------

    Resolution: Fixed
    
> @ConfigurationParameter - name should default to name of annotated field without class name
> -------------------------------------------------------------------------------------------
>
>                 Key: UIMA-2587
>                 URL: https://issues.apache.org/jira/browse/UIMA-2587
>             Project: UIMA
>          Issue Type: Improvement
>          Components: uimafit
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>             Fix For: 2.0.0uimaFIT
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Currently the name of an annotated field defaults to classname + "." + field. It should only default to "field".
> My code is littered with lines like:
> {code}
> public static final String PARAM_SOME_PARAMETER = "someParameter";
> @ConfigurationParameter(name = PARAM_SOME_PARAMETER)
> private String someParameter;
> {code}
> It would be nice to be able write something like:
> {code}
> @ConfigurationParameter
> private String someParameter;
> AnalysisEngine ae = createPrimitive(MyAE.class, "someParameter", "someValue");
> {code}
> More discussion on Google Code: https://code.google.com/p/uimafit/issues/detail?id=70

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira