* @ejb.value-object name="OrganizationSubject" * extends="com.ugpp.subjects.ejb.subject.SubjectData"
, where
package com.ugpp.subjects.ejb.subject;
class SubjectData implements java.io.Serializable {
int id;
String name;
public SubjectData(int id, String Name) {
this.id = id;
this.name = name;
}... }
ejbdoclet generates next OrganizationSubjectData:
package com.ugpp.subjects.ejb.subject;
class OrganizationSubjectData
extends com.ugpp.subjects.ejb.subject.SubjectData
implements java.io.Serializable {
int id;
String jobTitle;
public OrganizationSubjectData ( SubjectData subject, int id, String jobTitle) {
this.id = id;
this.jobTitle = jobTitle;
}
... }
How to call super-constructor in constructor of OrganizationSubjectData? E.g.:
public OrganizationSubjectData ( SubjectData subject, int id, String jobTitle) {
super(subject.getId(), subject.getName()); //!!!!!!!!!!!!!!!!
this.id = pk;
this.jobTitle = jobTitle;
}
Please, help me. Yakov.
------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
