KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Created on May 1, 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 import java.util.Set JavaDoc;
10
11
12
13 /**
14  * @author admin
15  *
16  * TODO To change the template for this generated type comment go to
17  * Window - Preferences - Java - Code Generation - Code and Comments
18  */

19 public interface ICustomer {
20
21     /**
22      * @hibernate.id
23      * generator-class="assigned"
24      * type="java.lang.String"
25      * column="userid"
26      *
27      */

28     public abstract String JavaDoc getUserid();
29
30     public abstract void setUserid(String JavaDoc userid);
31
32     /**
33      * @hibernate.property
34      * column="pwd"
35      * length="25"
36      *
37      */

38     public abstract String JavaDoc getPwd();
39
40     public abstract void setPwd(String JavaDoc pwd);
41
42     /**
43      * @hibernate.property
44      * column="email"
45      * length="80"
46      *
47      */

48     public abstract String JavaDoc getEmail();
49
50     public abstract void setEmail(String JavaDoc email);
51
52     /**
53      * @hibernate.property
54      * column="firstname"
55      * length="80"
56      *
57      */

58     public abstract String JavaDoc getFirstname();
59
60     public abstract void setFirstname(String JavaDoc firstname);
61
62     /**
63      * @hibernate.property
64      * column="lastname"
65      * length="80"
66      *
67      */

68     public abstract String JavaDoc getLastname();
69
70     public abstract void setLastname(String JavaDoc lastname);
71
72     /**
73      * @hibernate.property
74      * column="status"
75      * length="2"
76      *
77      */

78     public abstract String JavaDoc getStatus();
79
80     public abstract void setStatus(String JavaDoc status);
81
82     /**
83      * @hibernate.property
84      * column="addr1"
85      * length="80"
86      *
87      */

88     public abstract String JavaDoc getAddr1();
89
90     public abstract void setAddr1(String JavaDoc addr1);
91
92     /**
93      * @hibernate.property
94      * column="addr2"
95      * length="40"
96      *
97      */

98     public abstract String JavaDoc getAddr2();
99
100     public abstract void setAddr2(String JavaDoc addr2);
101
102     /**
103      * @hibernate.property
104      * column="city"
105      * length="80"
106      *
107      */

108     public abstract String JavaDoc getCity();
109
110     public abstract void setCity(String JavaDoc city);
111
112     /**
113      * @hibernate.property
114      * column="state"
115      * length="80"
116      *
117      */

118     public abstract String JavaDoc getState();
119
120     public abstract void setState(String JavaDoc state);
121
122     /**
123      * @hibernate.property
124      * column="zip"
125      * length="20"
126      *
127      */

128     public abstract String JavaDoc getZip();
129
130     public abstract void setZip(String JavaDoc zip);
131
132     /**
133      * @hibernate.property
134      * column="country"
135      * length="20"
136      *
137      */

138     public abstract String JavaDoc getCountry();
139
140     public abstract void setCountry(String JavaDoc country);
141
142     /**
143      * @hibernate.property
144      * column="phone"
145      * length="80"
146      *
147      */

148     public abstract String JavaDoc getPhone();
149
150     public abstract void setPhone(String JavaDoc phone);
151
152     /**
153      * @hibernate.property
154      * column="langpref"
155      * length="80"
156      *
157      */

158     public abstract String JavaDoc getLangpref();
159
160     public abstract void setLangpref(String JavaDoc langpref);
161
162     /**
163      * @hibernate.property
164      * column="mylistopt"
165      * length="11"
166      *
167      */

168     public abstract Integer JavaDoc getMylistopt();
169
170     public abstract void setMylistopt(Integer JavaDoc mylistopt);
171
172     /**
173      * @hibernate.property
174      * column="banneropt"
175      * length="11"
176      *
177      */

178     public abstract Integer JavaDoc getBanneropt();
179
180     public abstract void setBanneropt(Integer JavaDoc banneropt);
181
182     /**
183      * @hibernate.many-to-one
184      * @hibernate.column name="favcategory"
185      *
186      */

187     public abstract johnmammen.betterpetshop.bo.Bannerdata getBannerdata();
188
189     public abstract void setBannerdata(
190             johnmammen.betterpetshop.bo.Bannerdata bannerdata);
191
192     /**
193      * @hibernate.set
194      * lazy="true"
195      * inverse="true"
196      * @hibernate.collection-key
197      * column="userid"
198      * @hibernate.collection-one-to-many
199      * class="johnmammen.betterpetshop.bo.Order"
200      *
201      */

202     public abstract Set JavaDoc getOrders();
203
204     public abstract void setOrders(Set JavaDoc orders);
205
206     public abstract String JavaDoc toString();
207 }
Popular Tags