Message:

   The following issue has been re-assigned.

   Assignee: Matthias Germann (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1268

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1268
    Summary: Create <cmp-field> also from public fields
       Type: Improvement

     Status: Open
   Priority: Trivial

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module

   Assignee: Matthias Germann
   Reporter: Bjarne Geir Herland

    Created: Tue, 8 Feb 2005 9:00 AM
    Updated: Tue, 8 Feb 2005 10:07 AM

Description:
Currently, only getter-methods matching a certain pattern are candidates for 
becoming <cmp-field> entries in ejb-jar.xml. It would be handy to also do this 
for public fields, like e.g

     /**
     * @ejb.persistence
     */
     public String key;

instead of forcing you to set up the following construct

     /**
     * @ejb.persistence
     */
     public String getKey() { return key; }
     private String key;

(I know the latter is considered safer, cleaner, better and all that, but 
sometimes you may just want to do it simple.)

I can provide a patch to three files in the ejb-module if this enhancement is 
found worthy...  :-)



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to