The following comment has been added to this issue: Author: Idcmp Created: Thu, 28 Apr 2005 5:15 PM Body: For the above example, the following is generated (note the two constructors):
public class WholeValue extends AbstractThingValue implements java.io.Serializable, java.lang.Cloneable { private java.util.Collection Bits = wrapCollection(new java.util.ArrayList() ); private idcmp.api.TessyPK primaryKey; public WholeValue() { primaryKey = new idcmp.api.TessyPK(); } public WholeValue( ) { primaryKey = new idcmp.api.TessyPK(); } ......... --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1373?page=comments#action_16484 --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1373 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1373 Summary: duplicate empty construct on concrete VO Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: EJB Module Versions: 1.2.3 Assignee: xdoclet-devel (Use for new issues) Reporter: Idcmp Created: Thu, 28 Apr 2005 5:12 PM Updated: Thu, 28 Apr 2005 5:15 PM Description: I have an AbstractThingValue and a ConcreteThingValue which extends AbstractThingValue, and ChildValue which also extends AbstractThingValue. XDoclet's template creates a no-arg constructor for ConcreteThingValue(), then it also generates a second no-arg constructor (since it does not have any additional non-aggregate/composite attributes). --------------------------------------------------------------------- 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.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel