Well, I've searched MethodTagsHandler.java, ParameterTypesHandler.java,
TypesTagHandler.java etc but can't find anything close to what I'm after so
I guess it can't be done ... sigh ...
...any ideas for a workaround?
Thanks
Chris
-=-=-=
-----Original Message-----
From: Shaw, Chris
Sent: Friday 08 November 2002 17:54
To: '[EMAIL PROTECTED]'
Subject: [Xdoclet-user] XDT template relations
Hi,
I have a merge file for my Value Objects, and what I am doing (in a
nutshell) is adding a helper method for all attributes that are not already
a java.lang.String to convert them from a String to their correct type
(..all data comes initially in String format...)
This is the XDT tag I use to loop through the attributes:
<XDtEjbPersistent:forAllPersistentFields superclasses="false"
valueobject="<XDtEjbValueObj:valueObjectMatch/>">
This works fine exception for my relations where I end up with something
like:
public void setRoom(java.lang.String room) throws Exception {
<snip, snip>
this.room = new RoomLocal(room);
}
Is it possible using the XDoclet XDT syntax to automatically -exclude- the
attributes that are actually in themselves Entity Beans?
Thanks in advance
Chris
-=-=-=
Any e-mail message from the European Central Bank (ECB) is sent in good
faith but shall neither be binding nor construed as constituting a
commitment by the ECB except where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above.
Any unauthorised disclosure, use or dissemination, either in whole or in
part, is prohibited.
If you have received this e-mail in error, please notify the sender
immediately via e-mail and delete this e-mail from your system.
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
Any e-mail message from the European Central Bank (ECB) is sent in good faith but
shall neither be binding nor construed as constituting a commitment by the ECB except
where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any
unauthorised disclosure, use or dissemination, either in whole or in part, is
prohibited.
If you have received this e-mail in error, please notify the sender immediately via
e-mail and delete this e-mail from your system.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user