1 /*
2 * Demosys.
3 *
4 * Terms of license - http://opensource.org/licenses/apachepl.php
5 */
6 package org.demosys.web.login;
7 /***
8 */
9 public class LoginView implements Cloneable {
10 private String _userName;
11 private String _password;
12
13 public LoginView(String userName) {
14 setUserName(userName);
15 setPassword(null);
16 }
17
18
19 public LoginView() {
20 setUserName(null);
21 setPassword(null);
22 }
23
24 public Object clone() {
25 try {
26 return super.clone();
27 }
28 catch (CloneNotSupportedException e) {
29 // Impossible
30 e.printStackTrace();
31
32 return null;
33 }
34 }
35
36
37 public String getUserName() {
38 return _userName;
39 }
40
41
42 public void setUserName(String userName) {
43 this._userName = userName;
44 }
45
46
47 public String getPassword() {
48 return _password;
49 }
50
51
52 public void setPassword(String password) {
53 this._password = password;
54 }
55 }
This page was automatically generated by Maven