001: /**
002: * GENERATED CODE: DO NOT MODIFY IT UNDER ANY CIRCUMSTANCES!!!
003: */package com.odal.petstore.persistence.gen.bean;
004:
005: public class AccountPoBean implements java.io.Serializable {
006:
007: public AccountPoBean() {
008: }
009:
010: //
011: // Basic object stuff:
012: //
013: public AccountPoBean(String userId) {
014: this ();
015: setUserId(userId);
016: }
017:
018: private String userId;
019: private String email;
020: private String firstName;
021: private String lastName;
022: private String status;
023: private String address1;
024: private String address2;
025: private String city;
026: private String state;
027: private String zip;
028: private String country;
029: private String phone;
030:
031: //
032: // userId:
033: //
034: public String getUserId() {
035: return this .userId;
036: }
037:
038: public void setUserId(String userId) {
039: this .userId = userId;
040: }
041:
042: //
043: // email:
044: //
045: public String getEmail() {
046: return this .email;
047: }
048:
049: public void setEmail(String email) {
050: this .email = email;
051: }
052:
053: //
054: // firstName:
055: //
056: public String getFirstName() {
057: return this .firstName;
058: }
059:
060: public void setFirstName(String firstName) {
061: this .firstName = firstName;
062: }
063:
064: //
065: // lastName:
066: //
067: public String getLastName() {
068: return this .lastName;
069: }
070:
071: public void setLastName(String lastName) {
072: this .lastName = lastName;
073: }
074:
075: //
076: // status:
077: //
078: public String getStatus() {
079: return this .status;
080: }
081:
082: public void setStatus(String status) {
083: this .status = status;
084: }
085:
086: //
087: // address1:
088: //
089: public String getAddress1() {
090: return this .address1;
091: }
092:
093: public void setAddress1(String address1) {
094: this .address1 = address1;
095: }
096:
097: //
098: // address2:
099: //
100: public String getAddress2() {
101: return this .address2;
102: }
103:
104: public void setAddress2(String address2) {
105: this .address2 = address2;
106: }
107:
108: //
109: // city:
110: //
111: public String getCity() {
112: return this .city;
113: }
114:
115: public void setCity(String city) {
116: this .city = city;
117: }
118:
119: //
120: // state:
121: //
122: public String getState() {
123: return this .state;
124: }
125:
126: public void setState(String state) {
127: this .state = state;
128: }
129:
130: //
131: // zip:
132: //
133: public String getZip() {
134: return this .zip;
135: }
136:
137: public void setZip(String zip) {
138: this .zip = zip;
139: }
140:
141: //
142: // country:
143: //
144: public String getCountry() {
145: return this .country;
146: }
147:
148: public void setCountry(String country) {
149: this .country = country;
150: }
151:
152: //
153: // phone:
154: //
155: public String getPhone() {
156: return this .phone;
157: }
158:
159: public void setPhone(String phone) {
160: this .phone = phone;
161: }
162:
163: //
164: // Complex object part:
165: //
166:
167: //
168: // Compound object part:
169: //
170:
171: // Containment type - "is"
172:
173: private String userName;
174: private String password;
175:
176: //
177: // userName:
178: //
179: public String getUserName() {
180: return this .userName;
181: }
182:
183: public void setUserName(String userName) {
184: this .userName = userName;
185: }
186:
187: //
188: // password:
189: //
190: public String getPassword() {
191: return this .password;
192: }
193:
194: public void setPassword(String password) {
195: this .password = password;
196: }
197:
198: // Containment type - "is"
199:
200: private String langPref;
201: private Long myListOpt;
202: private Long bannerOpt;
203:
204: //
205: // langPref:
206: //
207: public String getLangPref() {
208: return this .langPref;
209: }
210:
211: public void setLangPref(String langPref) {
212: this .langPref = langPref;
213: }
214:
215: //
216: // myListOpt:
217: //
218: public Long getMyListOpt() {
219: return this .myListOpt;
220: }
221:
222: public void setMyListOpt(Long myListOpt) {
223: this .myListOpt = myListOpt;
224: }
225:
226: //
227: // bannerOpt:
228: //
229: public Long getBannerOpt() {
230: return this .bannerOpt;
231: }
232:
233: public void setBannerOpt(Long bannerOpt) {
234: this .bannerOpt = bannerOpt;
235: }
236:
237: // Containment type - "is"
238:
239: private String favCategory;
240: private String bannerName;
241:
242: //
243: // favCategory:
244: //
245: public String getFavCategory() {
246: return this .favCategory;
247: }
248:
249: public void setFavCategory(String favCategory) {
250: this .favCategory = favCategory;
251: }
252:
253: //
254: // bannerName:
255: //
256: public String getBannerName() {
257: return this .bannerName;
258: }
259:
260: public void setBannerName(String bannerName) {
261: this .bannerName = bannerName;
262: }
263:
264: public String toString() {
265: StringBuffer buffer = new StringBuffer();
266: buffer.append("{ " + "class = \"").append(
267: this .getClass().getName()).append("\" fields = ")
268: .append("{ ");
269:
270: buffer.append("userId").append(" = \"").append(userId).append(
271: "\" ");
272: buffer.append("email").append(" = \"").append(email).append(
273: "\" ");
274: buffer.append("firstName").append(" = \"").append(firstName)
275: .append("\" ");
276: buffer.append("lastName").append(" = \"").append(lastName)
277: .append("\" ");
278: buffer.append("status").append(" = \"").append(status).append(
279: "\" ");
280: buffer.append("address1").append(" = \"").append(address1)
281: .append("\" ");
282: buffer.append("address2").append(" = \"").append(address2)
283: .append("\" ");
284: buffer.append("city").append(" = \"").append(city)
285: .append("\" ");
286: buffer.append("state").append(" = \"").append(state).append(
287: "\" ");
288: buffer.append("zip").append(" = \"").append(zip).append("\" ");
289: buffer.append("country").append(" = \"").append(country)
290: .append("\" ");
291: buffer.append("phone").append(" = \"").append(phone).append(
292: "\" ");
293: buffer.append("}}");
294: return buffer.toString();
295: }
296:
297: }
|