View Javadoc

1   /*
2    *  RegisterUser
3    *
4    *  author snambi
5    *  copyright (C) 2009 nambi sankaran.
6    *
7    *  This program is free software: you can redistribute it and/or modify
8    *  it under the terms of the GNU General Public License as published by
9    *  the Free Software Foundation, either version 3 of the License, or
10   *  (at your option) any later version.
11   *
12   *  This program is distributed in the hope that it will be useful,
13   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   *  GNU General Public License for more details.
16   *
17   *  You should have received a copy of the GNU General Public License
18   *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
19   *
20   */
21  
22  package net.sf.emarket.web.controllers.user;
23  
24  import net.sf.emarket.user.domain.User;
25  
26  /***
27   * RegisterUser Description.
28   *
29   * @author : snambi
30   */
31  public class RegisterUser extends User {
32  
33      private boolean userAgreed = false;
34      private String password2;
35  
36      public String getPassword2() {
37          return password2;
38      }
39  
40      public void setPassword2(String password2) {
41          this.password2 = password2;
42      }
43  
44      public boolean isUserAgreed() {
45          return userAgreed;
46      }
47  
48      public void setUserAgreed(boolean userAgreed) {
49          this.userAgreed = userAgreed;
50      }
51  }