Update of /cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate
In directory sc8-pr-cvs1:/tmp/cvs-serv8039

Modified Files:
        Order.java Product.java 
Added Files:
        Updateable.java 
Log Message:
demo the new interface support in xjavadoc

--- NEW FILE: Updateable.java ---
package test.hibernate;

public interface Updateable {
        
        /**
         * @hibernate.property
         *  column="LAST_UPDATED_BY"
         */
        public String getUpdateComment();
}

Index: Order.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate/Order.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** Order.java  15 Mar 2003 06:00:44 -0000      1.3
--- Order.java  15 Jun 2003 10:25:39 -0000      1.4
***************
*** 14,22 ****
   *  mutable="false"
   */
! public class Order extends Persistent {
        
        private List items;
        private Human customer;
        private Calendar date;
  
        /**
--- 14,23 ----
   *  mutable="false"
   */
! public class Order extends Persistent implements Updateable {
        
        private List items;
        private Human customer;
        private Calendar date;
+       private String updateComment;
  
        /**
***************
*** 88,91 ****
--- 89,100 ----
        public void setCustomer(Human customer) {
                this.customer = customer;
+       }
+ 
+       public String getUpdateComment() {
+               return updateComment;
+       }
+ 
+       public void setUpdateComment(String string) {
+               updateComment = string;
        }
  

Index: Product.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate/Product.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Product.java        15 Mar 2003 06:00:45 -0000      1.1
--- Product.java        15 Jun 2003 10:25:39 -0000      1.2
***************
*** 18,22 ****
   * @author Administrator
   */
! public class Product extends Persistent {
        
        private String description;
--- 18,22 ----
   * @author Administrator
   */
! public class Product extends Persistent implements Updateable {
        
        private String description;
***************
*** 24,27 ****
--- 24,28 ----
        private BigDecimal price;
        private byte[] image;
+       private String updateComment;
  
        /**
***************
*** 101,104 ****
--- 102,113 ----
        public void setPrice(BigDecimal price) {
                this.price = price;
+       }
+ 
+       public String getUpdateComment() {
+               return updateComment;
+       }
+ 
+       public void setUpdateComment(String string) {
+               updateComment = string;
        }
  



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to