db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject cvs commit: db-ojb/src/xdoclet/java/src/xdoclet/modules/ojb OjbTagsHandler.java
Date Fri, 18 Mar 2005 23:39:52 GMT
tomdz       2005/03/18 15:39:52

  Modified:    lib      Tag: OJB_1_0_RELEASE xdoclet-ojb-module-1.2.2.jar
               src/xdoclet/test/xdoclet/modules/ojb/tests Tag:
                        OJB_1_0_RELEASE RunAllTests.java
               src/xdoclet/java/src/xdoclet/modules/ojb/resources Tag:
                        OJB_1_0_RELEASE intermediate-representation.xdt
               src/xdoclet/java/src/xdoclet/modules/ojb Tag:
                        OJB_1_0_RELEASE OjbTagsHandler.java
  Added:       src/xdoclet/test/xdoclet/modules/ojb/tests Tag:
                        OJB_1_0_RELEASE
                        ModifyInheritedTagDatabaseForeignkeyAttributeTests.java
  Log:
  Added support for the database-foreignkey attribute to ojb.modify-inherited/ojb.modify-nested
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.8   +106 -102  db-ojb/lib/Attic/xdoclet-ojb-module-1.2.2.jar
  
  	<<Binary file>>
  
  
  No                   revision
  No                   revision
  1.13.2.6  +1 -0      db-ojb/src/xdoclet/test/xdoclet/modules/ojb/tests/RunAllTests.java
  
  Index: RunAllTests.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/xdoclet/test/xdoclet/modules/ojb/tests/RunAllTests.java,v
  retrieving revision 1.13.2.5
  retrieving revision 1.13.2.6
  diff -u -r1.13.2.5 -r1.13.2.6
  --- RunAllTests.java	17 Mar 2005 23:49:10 -0000	1.13.2.5
  +++ RunAllTests.java	18 Mar 2005 23:39:52 -0000	1.13.2.6
  @@ -126,6 +126,7 @@
           suite.addTest(new TestSuite(ModifyInheritedTagColumnAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagColumnDocumentationAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagConversionAttributeTests.class));
  +        suite.addTest(new TestSuite(ModifyInheritedTagDatabaseForeignkeyAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagDefaultFetchAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagDocumentationAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagElementClassRefAttributeTests.class));
  
  
  
  No                   revision
  
  Index: RunAllTests.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/xdoclet/test/xdoclet/modules/ojb/tests/RunAllTests.java,v
  retrieving revision 1.13.2.5
  retrieving revision 1.13.2.6
  diff -u -r1.13.2.5 -r1.13.2.6
  --- RunAllTests.java	17 Mar 2005 23:49:10 -0000	1.13.2.5
  +++ RunAllTests.java	18 Mar 2005 23:39:52 -0000	1.13.2.6
  @@ -126,6 +126,7 @@
           suite.addTest(new TestSuite(ModifyInheritedTagColumnAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagColumnDocumentationAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagConversionAttributeTests.class));
  +        suite.addTest(new TestSuite(ModifyInheritedTagDatabaseForeignkeyAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagDefaultFetchAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagDocumentationAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagElementClassRefAttributeTests.class));
  
  
  
  No                   revision
  
  Index: RunAllTests.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/xdoclet/test/xdoclet/modules/ojb/tests/RunAllTests.java,v
  retrieving revision 1.13.2.5
  retrieving revision 1.13.2.6
  diff -u -r1.13.2.5 -r1.13.2.6
  --- RunAllTests.java	17 Mar 2005 23:49:10 -0000	1.13.2.5
  +++ RunAllTests.java	18 Mar 2005 23:39:52 -0000	1.13.2.6
  @@ -126,6 +126,7 @@
           suite.addTest(new TestSuite(ModifyInheritedTagColumnAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagColumnDocumentationAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagConversionAttributeTests.class));
  +        suite.addTest(new TestSuite(ModifyInheritedTagDatabaseForeignkeyAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagDefaultFetchAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagDocumentationAttributeTests.class));
           suite.addTest(new TestSuite(ModifyInheritedTagElementClassRefAttributeTests.class));
  
  
  
  1.1.2.1   +536 -0    db-ojb/src/xdoclet/test/xdoclet/modules/ojb/tests/Attic/ModifyInheritedTagDatabaseForeignkeyAttributeTests.java
  
  
  
  
  No                   revision
  No                   revision
  1.8.2.6   +12 -0     db-ojb/src/xdoclet/java/src/xdoclet/modules/ojb/resources/intermediate-representation.xdt
  
  Index: intermediate-representation.xdt
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/xdoclet/java/src/xdoclet/modules/ojb/resources/intermediate-representation.xdt,v
  retrieving revision 1.8.2.5
  retrieving revision 1.8.2.6
  diff -u -r1.8.2.5 -r1.8.2.6
  --- intermediate-representation.xdt	15 Mar 2005 23:58:30 -0000	1.8.2.5
  +++ intermediate-representation.xdt	18 Mar 2005 23:39:52 -0000	1.8.2.6
  @@ -229,6 +229,12 @@
                           conversion="<XDtClass:classTagValue tagName='ojb.modify-inherited'
paramName='conversion'/>"
                       />
                   </XDtClass:ifHasClassTag>
  +                <XDtClass:ifHasClassTag tagName='ojb.modify-inherited' paramName='database-foreignkey'>
  +                    <XDtOjb:processModification
  +                        name="<XDtClass:classTagValue tagName='ojb.modify-inherited'
paramName='name' superclasses='false'/>"
  +                        database-foreignkey="<XDtClass:classTagValue tagName='ojb.modify-inherited'
paramName='database-foreignkey'/>"
  +                    />
  +                </XDtClass:ifHasClassTag>
                   <XDtClass:ifHasClassTag tagName='ojb.modify-inherited' paramName='default-fetch'>
                       <XDtOjb:processModification
                           name="<XDtClass:classTagValue tagName='ojb.modify-inherited'
paramName='name' superclasses='false'/>"
  @@ -524,6 +530,12 @@
   	                        conversion="<XDtOjbMember:memberTagValue tagName='ojb.modify-nested'
paramName='conversion'/>"
   	                    />
   	                </XDtOjbMember:ifHasMemberTag>
  +	                <XDtOjbMember:ifHasMemberTag tagName='ojb.modify-nested' paramName='database-foreignkey'>
  +	                    <XDtOjb:processNestedModification
  +	                        name="<XDtOjbMember:memberTagValue tagName='ojb.modify-nested'
paramName='name'/>"
  +	                        database-foreignkey="<XDtOjbMember:memberTagValue tagName='ojb.modify-nested'
paramName='database-foreignkey'/>"
  +	                    />
  +	                </XDtOjbMember:ifHasMemberTag>
   	                <XDtOjbMember:ifHasMemberTag tagName='ojb.modify-nested' paramName='default-fetch'>
   	                    <XDtOjb:processNestedModification
   	                        name="<XDtOjbMember:memberTagValue tagName='ojb.modify-nested'
paramName='name'/>"
  
  
  
  No                   revision
  No                   revision
  1.13.2.7  +6 -0      db-ojb/src/xdoclet/java/src/xdoclet/modules/ojb/OjbTagsHandler.java
  
  Index: OjbTagsHandler.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/xdoclet/java/src/xdoclet/modules/ojb/OjbTagsHandler.java,v
  retrieving revision 1.13.2.6
  retrieving revision 1.13.2.7
  diff -u -r1.13.2.6 -r1.13.2.7
  --- OjbTagsHandler.java	15 Mar 2005 23:58:30 -0000	1.13.2.6
  +++ OjbTagsHandler.java	18 Mar 2005 23:39:52 -0000	1.13.2.7
  @@ -882,6 +882,7 @@
        * @doc.param                   name="class-ref" optional="true" description="The fully
qualified name of the class
        *      owning the referenced field"
        * @doc.param                   name="database-foreignkey" optional="true" description="Whether
a database foreignkey shall be created"
  +     *      values="true,false"
        * @doc.param                   name="documentation" optional="true" description="Documentation
on the reference"
        * @doc.param                   name="foreignkey" optional="true" description="The
fields in the current type used for
        * implementing the reference"
  @@ -989,6 +990,7 @@
        * @doc.param                   name="collection-class" optional="true" description="The
type of the collection if not a
        * java.util type or an array"
        * @doc.param                   name="database-foreignkey" optional="true" description="Whether
a database foreignkey shall be created"
  +     *      values="true,false"
        * @doc.param                   name="documentation" optional="true" description="Documentation
on the collection"
        * @doc.param                   name="element-class-ref" optional="true" description="The
fully qualified name of
        *      the element type"
  @@ -1151,6 +1153,8 @@
        * @doc.param                   name="column-documentation" optional="true" description="Documentation
on the column"
        * @doc.param                   name="conversion" optional="true" description="The
fully qualified name of the
        *      conversion for the field"
  +     * @doc.param                   name="database-foreignkey" optional="true" description="Whether
a database foreignkey shall be created"
  +     *      values="true,false"
        * @doc.param                   name="default-fetch" optional="true" description="The
default-fetch setting"
        *      values="true,false"
        * @doc.param                   name="documentation" optional="true" description="Documentation
on the field"
  @@ -1233,6 +1237,8 @@
        * @doc.param                   name="column-documentation" optional="true" description="Documentation
on the column"
        * @doc.param                   name="conversion" optional="true" description="The
fully qualified name of the
        *      conversion for the field"
  +     * @doc.param                   name="database-foreignkey" optional="true" description="Whether
a database foreignkey shall be created"
  +     *      values="true,false"
        * @doc.param                   name="default-fetch" optional="true" description="The
default-fetch setting"
        *      values="true,false"
        * @doc.param                   name="documentation" optional="true" description="Documentation
on the field"
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message