Hi.

I'm generating my Value objects from entity beans. Everything is fine except that my default initial values of some properties are not the same as java defaults for that specific type.

For instance, I have UserValueObject that has "age" property, and I want it's initial value to be -1, not 0. Is it possible to tell XDoclet to generate such default values inside entities, such as :

public class UserValueObject implementas Serializable {
   private int age = -1;
...
...

Regards,
Vjeran






-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to