Hi,
I've trouble in ValueObject XDoclet generation. I use 1.2.3 version
XDoclet generate this value object
extract from UserProfileModel.java
public UserProfileModel( java.lang.String userIdentifier,java.lang.String
skinModel,java.lang.String menuModel,java.lang.Integer
sessionTimeout,java.lang.Integer
maxRowCountPerPage,java.lang.Boolean formBorder,java.lang.Boolean
displayBanner,java.lang.Boolean displayFooter,java.lang.Boolean
displayScreenFooter,java.lang.Boolean displayScreenHeader,java.lang.Boolean
displayInvalidFormDataInScreen,java.lang.Boolean transparentBackgroundForm )
{
setUserIdentifier(userIdentifier); // THe primaryKey as not been
builded
setSkinModel(skinModel);
setMenuModel(menuModel);
setSessionTimeout(sessionTimeout);
setMaxRowCountPerPage(maxRowCountPerPage);
setFormBorder(formBorder);
setDisplayBanner(displayBanner);
setDisplayFooter(displayFooter);
setDisplayScreenFooter(displayScreenFooter);
setDisplayScreenHeader(displayScreenHeader);
setDisplayInvalidFormDataInScreen(displayInvalidFormDataInScreen);
setTransparentBackgroundForm(transparentBackgroundForm);
primaryKey = new
enitab.webapps.aset.entreprise.ejb.userprofile.bean.UserProfilePrimaryKey(th
is.getUserIdentifier());
}
public void setUserIdentifier( java.lang.String userIdentifier )
{
this.userIdentifier = userIdentifier;
userIdentifierHasBeenSet = true;
// The primaryKey is NULL !!!!!!!!!!!!!!!!!!!!!!!! . Throws a
NullPointerException
primaryKey.setUserIdentifier(userIdentifier);
}
When i use this construtor, the first call
"setUserIdentifier(userIdentifier)" generate a NullPointerException
(the primaryKey is NULL)
Thanks for your jelp
ppx.
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user