I just figured it out.  I have to have the set on the ValueObject to set the
id when the Value object is initialized with a get from the database.
However, I don't want the setGenID() in the interfaces, which are not there
since I did not put the ejb.interface-method tag on setGenID().

/Lorraine

-----Original Message-----
From: Lorraine Fox 
Sent: Monday, March 01, 2004 2:21 PM
To: '[EMAIL PROTECTED]'
Subject: [Xdoclet-user] generate getxxx but excluet setxxx


I have generated primary key field in my entity.  This key field gets
generated in ejbCreate().  I want to expose the getGenKey() to the Value
object and interfaces, but I don't want to expose the setGenKey() in the
ValueObject nor the interface.
I don't see any tags in xdoclet that allow me to exclude the setGenKey(), as
the value-object match=  applies to both the get/set.
I also don't see a way to exclude all interfaces.

Any suggestions?

/Lorraine


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to