KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > tapestry > pets > domain > model > pojo > VProducts


1 package org.apache.tapestry.pets.domain.model.pojo;
2
3 import org.apache.commons.lang.builder.ToStringBuilder;
4
5 /** @author Hibernate CodeGenerator */
6 public class VProducts
7 {
8
9     /** nullable persistent field */
10     private String JavaDoc catid;
11
12     /** nullable persistent field */
13     private String JavaDoc productid;
14
15     /** nullable persistent field */
16     private String JavaDoc image;
17
18     /** nullable persistent field */
19     private String JavaDoc locale;
20
21     /** nullable persistent field */
22     private String JavaDoc name;
23
24     /** nullable persistent field */
25     private String JavaDoc descn;
26
27     /** full constructor */
28     public VProducts(
29         java.lang.String JavaDoc catid,
30         java.lang.String JavaDoc productid,
31         java.lang.String JavaDoc image,
32         java.lang.String JavaDoc locale,
33         java.lang.String JavaDoc name,
34         java.lang.String JavaDoc descn)
35     {
36         this.catid = catid;
37         this.productid = productid;
38         this.image = image;
39         this.locale = locale;
40         this.name = name;
41         this.descn = descn;
42     }
43
44     /** default constructor */
45     public VProducts()
46     {
47     }
48
49     public java.lang.String JavaDoc getCatid()
50     {
51         return this.catid;
52     }
53
54     public void setCatid(java.lang.String JavaDoc catid)
55     {
56         this.catid = catid;
57     }
58
59     public java.lang.String JavaDoc getProductid()
60     {
61         return this.productid;
62     }
63
64     public void setProductid(java.lang.String JavaDoc productid)
65     {
66         this.productid = productid;
67     }
68
69     public java.lang.String JavaDoc getImage()
70     {
71         return this.image;
72     }
73
74     public void setImage(java.lang.String JavaDoc image)
75     {
76         this.image = image;
77     }
78
79     public java.lang.String JavaDoc getLocale()
80     {
81         return this.locale;
82     }
83
84     public void setLocale(java.lang.String JavaDoc locale)
85     {
86         this.locale = locale;
87     }
88
89     public java.lang.String JavaDoc getName()
90     {
91         return this.name;
92     }
93
94     public void setName(java.lang.String JavaDoc name)
95     {
96         this.name = name;
97     }
98
99     public java.lang.String JavaDoc getDescn()
100     {
101         return this.descn;
102     }
103
104     public void setDescn(java.lang.String JavaDoc descn)
105     {
106         this.descn = descn;
107     }
108
109     public String JavaDoc toString()
110     {
111         return new ToStringBuilder(this).toString();
112     }
113
114 }
115
Popular Tags