View Javadoc

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