I created a entity bean and added tags to create
value-objects. This are my tags:
* @ejb.value-object
* name="Material"
* match="material"
* @ejb.value-object
* name="Book"
* match="book"
* extends="MaterialVO"
* @ejb.value-object
* name="Mobile"
* match="mobile"
* extends="MaterialVO"
(I added also some light tags but I didn't put them
here)
EDoclet creates nicely all the VO files and puts the
"extends MaterialVO" in book and mobile. But, he also
add's this method in BookVO and MobileVO:
protected boolean hasIdentity() {return idHasBeenSet;}
The first porblem with this method is that
'idHasBeenSet' is a private variable in MaterialVO
(super) class. So sub classes can't return this field
. The second problem is (imho) that this method (wich
is auto generated by xdoclet) does not even belong in
the subclass and only in the super class.
Can anyone tell me what am I doing wrong here ? Are
there special tags to tell xdoclet not to do this ?
...
thanks
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user