You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Chad Schoettger (JIRA)" <de...@beehive.apache.org> on 2006/03/07 20:19:38 UTC

[jira] Created: (BEEHIVE-1077) Generated control bean does not include property getters when PropertySet annotation is used with hasSetters=false

Generated control bean does not include property getters when PropertySet annotation is used with hasSetters=false
------------------------------------------------------------------------------------------------------------------

         Key: BEEHIVE-1077
         URL: http://issues.apache.org/jira/browse/BEEHIVE-1077
     Project: Beehive
        Type: Bug
  Components: Controls  
    Versions: 1.0.1    
    Reporter: Chad Schoettger
 Assigned to: Chad Schoettger 


If I have a control which uses the PropertySet annotation, it doesn't appear the getter methods for that property set are ever generated in the ControlBean.

I've attached a small example, I would expect to see getter methods generated for members of the CallbackEndpointAddress annotation.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (BEEHIVE-1077) Generated control bean does not include property getters when PropertySet annotation is used

Posted by "Chad Schoettger (JIRA)" <de...@beehive.apache.org>.
    [ http://issues.apache.org/jira/browse/BEEHIVE-1077?page=comments#action_12369477 ] 

Chad Schoettger commented on BEEHIVE-1077:
------------------------------------------

It appears the real issue here is that even when the PropertySet is marked as optional, getters still show up in the property descriptors created by the generated BeanInfo class.

> Generated control bean does not include property getters when PropertySet annotation is used
> --------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-1077
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1077
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: 1.0.1
>     Reporter: Chad Schoettger
>     Assignee: Chad Schoettger
>  Attachments: beehive-1077.zip
>
> If I have a control which uses the PropertySet annotation, it doesn't appear the getter methods for that property set are ever generated in the ControlBean.
> I've attached a small example, I would expect to see getter methods generated for members of the CallbackEndpointAddress annotation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (BEEHIVE-1077) Generated control bean does not include property getters when PropertySet annotation is used

Posted by "Alejandro Ramirez (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-1077?page=all ]

Alejandro Ramirez reassigned BEEHIVE-1077:
------------------------------------------

    Assign To: Jacob Danner  (was: Alejandro Ramirez)

please verify

> Generated control bean does not include property getters when PropertySet annotation is used
> --------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-1077
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1077
>      Project: Beehive
>         Type: Bug

>   Components: Controls
>     Versions: 1.0.1
>     Reporter: Chad Schoettger
>     Assignee: Jacob Danner
>  Attachments: beehive-1077.zip
>
> If I have a control which uses the PropertySet annotation, it doesn't appear the getter methods for that property set are ever generated in the ControlBean.
> I've attached a small example, I would expect to see getter methods generated for members of the CallbackEndpointAddress annotation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (BEEHIVE-1077) Generated control bean does not include property getters when PropertySet annotation is used

Posted by "Alejandro Ramirez (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-1077?page=all ]

Alejandro Ramirez closed BEEHIVE-1077.
--------------------------------------

    Assignee:     (was: Jacob Danner)

Closing based on Russ' Comments

> Generated control bean does not include property getters when PropertySet annotation is used
> --------------------------------------------------------------------------------------------
>
>                 Key: BEEHIVE-1077
>                 URL: http://issues.apache.org/jira/browse/BEEHIVE-1077
>             Project: Beehive
>          Issue Type: Bug
>          Components: Controls
>    Affects Versions: 1.0.1
>            Reporter: Chad Schoettger
>         Attachments: beehive-1077.zip
>
>
> If I have a control which uses the PropertySet annotation, it doesn't appear the getter methods for that property set are ever generated in the ControlBean.
> I've attached a small example, I would expect to see getter methods generated for members of the CallbackEndpointAddress annotation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (BEEHIVE-1077) Generated control bean does not include property getters when PropertySet annotation is used

Posted by "Chad Schoettger (JIRA)" <de...@beehive.apache.org>.
    [ http://issues.apache.org/jira/browse/BEEHIVE-1077?page=comments#action_12369301 ] 

Chad Schoettger commented on BEEHIVE-1077:
------------------------------------------

On closer inspection the lack of a generated getter method in the control bean is due to the PropertySet's 'optional' member being set to true.  So the lack of a getter may not be an issue after all.

> Generated control bean does not include property getters when PropertySet annotation is used
> --------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-1077
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1077
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: 1.0.1
>     Reporter: Chad Schoettger
>     Assignee: Chad Schoettger
>  Attachments: beehive-1077.zip
>
> If I have a control which uses the PropertySet annotation, it doesn't appear the getter methods for that property set are ever generated in the ControlBean.
> I've attached a small example, I would expect to see getter methods generated for members of the CallbackEndpointAddress annotation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-1077) Generated control bean does not include property getters when PropertySet annotation is used

Posted by "Chad Schoettger (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-1077?page=all ]

Chad Schoettger updated BEEHIVE-1077:
-------------------------------------

    Summary: Generated control bean does not include property getters when PropertySet annotation is used  (was: Generated control bean does not include property getters when PropertySet annotation is used with hasSetters=false)

updated title

> Generated control bean does not include property getters when PropertySet annotation is used
> --------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-1077
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1077
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: 1.0.1
>     Reporter: Chad Schoettger
>     Assignee: Chad Schoettger

>
> If I have a control which uses the PropertySet annotation, it doesn't appear the getter methods for that property set are ever generated in the ControlBean.
> I've attached a small example, I would expect to see getter methods generated for members of the CallbackEndpointAddress annotation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-1077) Generated control bean does not include property getters when PropertySet annotation is used

Posted by "Chad Schoettger (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-1077?page=all ]

Chad Schoettger updated BEEHIVE-1077:
-------------------------------------

    Attachment: beehive-1077.zip

attached example

> Generated control bean does not include property getters when PropertySet annotation is used
> --------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-1077
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1077
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: 1.0.1
>     Reporter: Chad Schoettger
>     Assignee: Chad Schoettger
>  Attachments: beehive-1077.zip
>
> If I have a control which uses the PropertySet annotation, it doesn't appear the getter methods for that property set are ever generated in the ControlBean.
> I've attached a small example, I would expect to see getter methods generated for members of the CallbackEndpointAddress annotation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (BEEHIVE-1077) Generated control bean does not include property getters when PropertySet annotation is used

Posted by "Chad Schoettger (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-1077?page=all ]
     
Chad Schoettger resolved BEEHIVE-1077:
--------------------------------------

    Resolution: Fixed
     Assign To: Alejandro Ramirez  (was: Chad Schoettger)

Fixed, svn rev 384259. If a control interface has a PropertySet which is optional, don't add the property getter to the PropertyDescriptor created by the generated control bean info class.

> Generated control bean does not include property getters when PropertySet annotation is used
> --------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-1077
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1077
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: 1.0.1
>     Reporter: Chad Schoettger
>     Assignee: Alejandro Ramirez
>  Attachments: beehive-1077.zip
>
> If I have a control which uses the PropertySet annotation, it doesn't appear the getter methods for that property set are ever generated in the ControlBean.
> I've attached a small example, I would expect to see getter methods generated for members of the CallbackEndpointAddress annotation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (BEEHIVE-1077) Generated control bean does not include property getters when PropertySet annotation is used

Posted by "Russ Baker (JIRA)" <de...@beehive.apache.org>.
    [ http://issues.apache.org/jira/browse/BEEHIVE-1077?page=comments#action_12426336 ] 
            
Russ Baker commented on BEEHIVE-1077:
-------------------------------------

I recommend that this bug be closed. I have verified against SVN#429372 that theBeanInfo will not generate the getter methods if "optional" is set to true on the PropertySet anno, and will generate the getter methods when "optional" is set to false.

> Generated control bean does not include property getters when PropertySet annotation is used
> --------------------------------------------------------------------------------------------
>
>                 Key: BEEHIVE-1077
>                 URL: http://issues.apache.org/jira/browse/BEEHIVE-1077
>             Project: Beehive
>          Issue Type: Bug
>          Components: Controls
>    Affects Versions: 1.0.1
>            Reporter: Chad Schoettger
>         Assigned To: Jacob Danner
>         Attachments: beehive-1077.zip
>
>
> If I have a control which uses the PropertySet annotation, it doesn't appear the getter methods for that property set are ever generated in the ControlBean.
> I've attached a small example, I would expect to see getter methods generated for members of the CallbackEndpointAddress annotation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira