View Javadoc

1   /*
2    * Copyright 2000-2004 The Apache Software Foundation.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package com.ibatis.jpetstore.domain;
17  
18  import java.io.Serializable;
19  
20  
21  public class Account implements Serializable {
22  
23    /* Private Fields */
24  
25    private String username;
26    private String password;
27    private String email;
28    private String firstName;
29    private String lastName;
30    private String status;
31    private String address1;
32    private String address2;
33    private String city;
34    private String state;
35    private String zip;
36    private String country;
37    private String phone;
38    private String favouriteCategoryId;
39    private String languagePreference;
40    private boolean listOption;
41    private boolean bannerOption;
42    private String bannerImagePath;
43  
44    /* JavaBeans Properties */
45  
46    public String getUsername() {
47      return username;
48    }
49  
50    public void setUsername(String username) {
51      this.username = username;
52    }
53  
54    public String getPassword() {
55      return password;
56    }
57  
58    public void setPassword(String password) {
59      this.password = password;
60    }
61  
62    public String getEmail() {
63      return email;
64    }
65  
66    public void setEmail(String email) {
67      this.email = email;
68    }
69  
70    public String getFirstName() {
71      return firstName;
72    }
73  
74    public void setFirstName(String firstName) {
75      this.firstName = firstName;
76    }
77  
78    public String getLastName() {
79      return lastName;
80    }
81  
82    public void setLastName(String lastName) {
83      this.lastName = lastName;
84    }
85  
86    public String getStatus() {
87      return status;
88    }
89  
90    public void setStatus(String status) {
91      this.status = status;
92    }
93  
94    public String getAddress1() {
95      return address1;
96    }
97  
98    public void setAddress1(String address1) {
99      this.address1 = address1;
100   }
101 
102   public String getAddress2() {
103     return address2;
104   }
105 
106   public void setAddress2(String address2) {
107     this.address2 = address2;
108   }
109 
110   public String getCity() {
111     return city;
112   }
113 
114   public void setCity(String city) {
115     this.city = city;
116   }
117 
118   public String getState() {
119     return state;
120   }
121 
122   public void setState(String state) {
123     this.state = state;
124   }
125 
126   public String getZip() {
127     return zip;
128   }
129 
130   public void setZip(String zip) {
131     this.zip = zip;
132   }
133 
134   public String getCountry() {
135     return country;
136   }
137 
138   public void setCountry(String country) {
139     this.country = country;
140   }
141 
142   public String getPhone() {
143     return phone;
144   }
145 
146   public void setPhone(String phone) {
147     this.phone = phone;
148   }
149 
150   public String getFavouriteCategoryId() {
151     return favouriteCategoryId;
152   }
153 
154   public void setFavouriteCategoryId(String favouriteCategoryId) {
155     this.favouriteCategoryId = favouriteCategoryId;
156   }
157 
158   public String getLanguagePreference() {
159     return languagePreference;
160   }
161 
162   public void setLanguagePreference(String languagePreference) {
163     this.languagePreference = languagePreference;
164   }
165 
166   public boolean isListOption() {
167     return listOption;
168   }
169 
170   public void setListOption(boolean listOption) {
171     this.listOption = listOption;
172   }
173 
174   public boolean isBannerOption() {
175     return bannerOption;
176   }
177 
178   public void setBannerOption(boolean bannerOption) {
179     this.bannerOption = bannerOption;
180   }
181 
182   public String getBannerImagePath() {
183     return bannerImagePath;
184   }
185 
186   public void setBannerImagePath(String bannerImagePath) {
187     this.bannerImagePath = bannerImagePath;
188   }
189 
190 }