User: vharcq  
  Date: 02/03/02 01:30:14

  Modified:    core/resources/xdoclet/ejb entity-value-instantiation.j
  Log:
  Check that 1-1 relation exists before getting value object from it
  
  Revision  Changes    Path
  1.6       +2 -1      xdoclet/core/resources/xdoclet/ejb/entity-value-instantiation.j
  
  Index: entity-value-instantiation.j
  ===================================================================
  RCS file: 
/cvsroot/xdoclet/xdoclet/core/resources/xdoclet/ejb/entity-value-instantiation.j,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -w -r1.5 -r1.6
  --- entity-value-instantiation.j      1 Mar 2002 06:14:00 -0000       1.5
  +++ entity-value-instantiation.j      2 Mar 2002 09:30:14 -0000       1.6
  @@ -9,6 +9,7 @@
            </XDtEjbPersistent:forAllPersistentFields>
            <XDtEjbValueObj:forAllRelations superclasses="true" 
valueobject="<XDtEjbValueObj:valueObjectMatch/>">
             <XDtMethod:ifDoesntHaveMethodTag tagName="ejb:value-object" 
paramName="type">
  +            if ( <XDtMethod:getterMethod/>() != null )
               
<XDtEjbValueObj:currentValueObjectAttribute/>.set<XDtEjbValueObj:currentAggregateName/>(
 <XDtMethod:getterMethod/>().get<XDtEjbValueObj:currentAggregateType short="true"/>() 
);
             </XDtMethod:ifDoesntHaveMethodTag>
             <XDtMethod:ifHasMethodTag tagName="ejb:value-object" paramName="type">
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to