Yes I thought that read only value-object was an annoyance. I had a situation similar to what you describe. I just stopped implementing the interface!! Anyway, another thing I have found out is that if you're going to use these value objects as value types according to JAX-RPC specifications for use with Web services (say EJB 2.1 implementation), then this read only value object will be a pain too. You'll have to create an exact replica of that value object without the read-only part... what a waste! Is there any suggestions for turning off these read-only value objects?

Thanks.

----- Original Message ----- From: "Robert Upshall" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, September 12, 2005 10:02 PM
Subject: [Xdoclet-user] problems with @value-object


I am attempting to get my value-objects to implements an interface with the follwoing inteface methods

publIc Object getPrimaryKey()
public Date getDeletedDate()
public void setDeleted(Date date)

The problem is the value-object tag generates a class with an internal readonly version of the class, this internal class also implments the interface, but because its read only it does have the set method or the key primary key method.

Can somebody offer a solution to my problem?


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to