KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > tapestry > pets > domain > model > IProduct


1 /*
2  * Created on Apr 29, 2004
3  *
4  * TODO To change the template for this generated file go to
5  * Window - Preferences - Java - Code Generation - Code and Comments
6  */

7 package org.apache.tapestry.pets.domain.model;
8
9
10
11 /**
12  * @author admin
13  *
14  * TODO To change the template for this generated type comment go to
15  * Window - Preferences - Java - Code Generation - Code and Comments
16  */

17 public interface IProduct {
18
19     /**
20      * @hibernate.id
21      * generator-class="assigned"
22      * type="java.lang.String"
23      * column="productid"
24      *
25      */

26     public abstract String JavaDoc getProductid();
27
28     public abstract void setProductid(String JavaDoc productid);
29
30     /**
31      * @hibernate.property
32      * column="image"
33      * length="255"
34      *
35      */

36     public abstract String JavaDoc getImage();
37
38     public abstract void setImage(String JavaDoc image);
39
40     /**
41      * @hibernate.one-to-one
42      * outer-join="auto"
43      *
44      */

45     public abstract johnmammen.betterpetshop.bo.Productdetail getProductdetail();
46
47     public abstract void setProductdetail(
48             johnmammen.betterpetshop.bo.Productdetail productdetail);
49
50     /**
51      * @hibernate.many-to-one
52      * not-null="true"
53      * @hibernate.column name="catid"
54      *
55      */

56     public abstract johnmammen.betterpetshop.bo.Categorydetail getCategorydetail();
57
58     public abstract void setCategorydetail(
59             johnmammen.betterpetshop.bo.Categorydetail categorydetail);
60
61     public abstract String JavaDoc toString();
62 }
Popular Tags