Update of
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/resources
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21502/modules/ejb/src/xdoclet/modules/ejb/entity/resources
Modified Files:
valueobject.xdt
Log Message:
Fixed invalid constructor if a property has only a getter method in the ejb
(XDT-1313)
Index: valueobject.xdt
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/resources/valueobject.xdt,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** valueobject.xdt 4 Apr 2005 19:43:04 -0000 1.30
--- valueobject.xdt 5 Apr 2005 11:19:26 -0000 1.31
***************
*** 153,156 ****
--- 153,160 ----
<XDtMethod:ifHasMethod name="<XDtMethod:setterMethod/>"
parameters="<XDtMethod:methodType/>">
public <XDtClass:ifClassTagValueEquals tagName="ejb:value-object"
paramName="synchronization" value="full">synchronized
</XDtClass:ifClassTagValueEquals>void <XDtMethod:setterMethod/>(
<XDtMethod:methodType/> <XDtMethod:propertyName/> )
+ </XDtMethod:ifHasMethod>
+ <XDtMethod:ifDoesntHaveMethod name="<XDtMethod:setterMethod/>"
parameters="<XDtMethod:methodType/>">
+ private <XDtClass:ifClassTagValueEquals tagName="ejb:value-object"
paramName="synchronization" value="full">synchronized
</XDtClass:ifClassTagValueEquals>void <XDtMethod:setterMethod/>(
<XDtMethod:methodType/> <XDtMethod:propertyName/> )
+ </XDtMethod:ifDoesntHaveMethod >
{
this.<XDtMethod:propertyName/> = <XDtMethod:propertyName/>;
***************
*** 169,172 ****
--- 173,177 ----
}
+ <XDtMethod:ifHasMethod name="<XDtMethod:setterMethod/>"
parameters="<XDtMethod:methodType/>">
public <XDtClass:ifClassTagValueEquals tagName="ejb:value-object"
paramName="synchronization" value="full">synchronized
</XDtClass:ifClassTagValueEquals>boolean <XDtMethod:propertyName/>HasBeenSet(){
return <XDtMethod:propertyName/>HasBeenSet;
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel