[XDoclet-JIRA] Created: (XJD-69) Change XField/XMethod names

"Francois (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Change XField/XMethod names
---------------------------

         Key: XJD-69
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XJD-69
     Project: XJavaDoc
        Type: New Feature
 Environment: WinXP, XJavaDoc 1.1, j2sdk1.4.2_06
 Reporter: Francois
 Assigned to: xdoclet-devel (Use for new issues) 


I'm using XJavaDoc 1.1 and would like to know how to change the names of XFields.
 
I've written a source generator/editor given only a DB Connection, representing the new classes in a JTree.  
I need the functionality to change field names directly in the tree.  It seems like I found the right place to do so using setName of MemberImpl, but it doesn't save the source file with the new field name.  The XField in the tree reports getName correctly after modification.  Since the getFields method returns an unmodifiable list, I used getField(String name) instead, as it seems to return the actual XField in the _fields List of AbstractClass (but still doesn't work).
I also want to be able to remove a field from the source class completely as well.
 
Would you please point me in the right direction?
Thanks in advance
Francois

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.