Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-382 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-382 Summary: VOs and relation field names Type: Bug Status: Assigned Priority: Minor Time Spent: Unknown Estimate: 0 minutes Project: XDoclet Component: EJB Module Versions: 1.2 Beta 2 SNAPSHOT (CVS) Assignee: xdoclet-devel (Use for new issues) Reporter: Andrew Stevens Created: Fri, 14 Mar 2003 10:50 AM Updated: Fri, 14 Mar 2003 10:50 AM Description: I'm trying to generate a VO that includes a relation (e.g. a CompanyValue that includes the company name string from the EJB and a registered address VO from the related Address EJB). For the persistent fields, the template uses private <XDtMethod:methodType/> <XDtMethod:propertyName/>; private boolean <XDtMethod:propertyName/>HasBeenSet = false; ... public <XDtMethod:methodType/> <XDtMethod:getterMethod/>() so the generated VO has private java.lang.String companyName; and public java.lang.String getCompanyName(); which is fine, and fits the Sun recommended code conventions. However, for relations the template uses private <XDtEjbValueObj:currentAggregateType/> <XDtEjbValueObj:currentAggregateName/>; private boolean <XDtEjbValueObj:currentAggregateName/>HasBeenSet = false; ... public <XDtEjbValueObj:currentAggregateType/> get<XDtEjbValueObj:currentAggregateName/>() In order to have the getter named "getAddress()" rather than "getaddress()", I have to set the aggregate-name parameter to "Address". But in that case, the field also has the initial capital letter, which breaks the code conventions. Moreover, it's then the same as the remote interface's classname, which is confusing to say the least... --------------------------------------------------------------------- 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/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
