Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11201/src/test/java/org/xdoclet/plugin/hibernate/pojo

Modified Files:
        Simple.hbm.xml Simple.java 
Log Message:
Fixed using of 'type-param' tag

Index: Simple.hbm.xml
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/Simple.hbm.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** Simple.hbm.xml      2 Jun 2005 14:09:18 -0000       1.16
--- Simple.hbm.xml      3 Jun 2005 07:26:05 -0000       1.17
***************
*** 26,29 ****
--- 26,34 ----
                  type="baz.bang.blurge" insert="false" formula="gee"/>
          <property name="name"/>
+         <property name="typedProperty">
+             <type name="com.bar.Foo">
+                 <param name="something">whatever</param>
+             </type>
+         </property>
          <property name="blurge" access="field" index="blam">
              <meta inherit="true" attribute="attribute">blurge</meta>

Index: Simple.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/Simple.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** Simple.java 2 Jun 2005 14:09:19 -0000       1.20
--- Simple.java 3 Jun 2005 07:26:05 -0000       1.21
***************
*** 25,29 ****
      private Object _fullBlown;
      private String _name;
- 
      /**
       * property defined on field level
--- 25,28 ----
***************
*** 34,37 ****
--- 33,37 ----
      private int blurge;
      private long _id;
+     private String typedProperty;
  
      public void setFullBlown(Object fullBlown) {
***************
*** 76,78 ****
--- 76,91 ----
          _name = name;
      }
+ 
+     /**
+      * @hibernate.property
+      * @hibernate.type name="com.bar.Foo"
+      * @hibernate.type-param name="something" value="whatever"
+      */
+     public String getTypedProperty() {
+         return typedProperty;
+     }
+ 
+     public void setTypedProperty(String typedProperty) {
+         this.typedProperty = typedProperty;
+     }
  }
\ No newline at end of file



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to