Update of /cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate
In directory sc8-pr-cvs1:/tmp/cvs-serv8688

Modified Files:
        HibernateTagsHandler.java 
Log Message:
added @hibernate.column tag (XDT-279)

Index: HibernateTagsHandler.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/HibernateTagsHandler.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** HibernateTagsHandler.java   9 Mar 2003 23:45:39 -0000       1.10
--- HibernateTagsHandler.java   13 Mar 2003 03:52:33 -0000      1.11
***************
*** 43,46 ****
--- 43,50 ----
  {
  
+     private String  currentTag;
+ 
+     private String  currentMappingElement;
+ 
      /**
       * Returns full path of hibernate file for the current class.
***************
*** 83,86 ****
--- 87,109 ----
      }
  
+     public String getCurrentTag(Properties attributes)
+     {
+         return currentTag;
+     }
+ 
+     public String getCurrentMappingElement(Properties attributes)
+     {
+         return currentMappingElement;
+     }
+ 
+     public void setCurrentTag(String template, Properties attributes) throws 
XDocletException
+     {
+         currentTag = attributes.getProperty("name");
+         currentMappingElement = attributes.getProperty("mappingElement");
+         generate(template);
+         currentTag = null;
+         currentMappingElement = null;
+     }
+ 
      /**
       * Get the attribute used for collection property names in this version of 
Hibernate (ie. "role" or "name")
***************
*** 210,213 ****
--- 233,237 ----
          System.out.println("   " + getCurrentClass().getQualifiedName());
      }
+ 
  
      /**



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to