1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package no.feide.moria.servlet;
22
23
24 /***
25 *
26 * @author Eva Indal
27 * @version $Revision: 1.2 $
28 *
29 * Stores attributes about a user.
30 */
31
32 public class BackendStatusUser {
33
34 private String name;
35 private String password;
36 private String organization;
37 private String contact;
38
39 /***
40 * Constructor.
41 *
42 * @param name The user name
43 * @param password The user password
44 */
45 public BackendStatusUser() {
46 name = null;
47 password = null;
48 organization = null;
49 contact = null;
50 }
51
52 /***
53 * Set the user name.
54 * @param name the user name
55 */
56 public void setName(final String name) {
57 this.name = name;
58 }
59
60 /***
61 * Set the user password
62 * @param password the user password
63 */
64 public void setPassword(final String password) {
65 this.password = password;
66 }
67
68 /***
69 * Set the organization
70 * @param organization the organization
71 */
72 public void setOrganization(final String organization) {
73 this.organization = organization;
74 }
75
76 /***
77 * Set the contact
78 * @param contact
79 */
80 public void setContact(final String contact) {
81 this.contact = contact;
82 }
83
84 /***
85 * Returns the user name
86 * @return the user name
87 */
88 public String getName() {
89 return name;
90 }
91
92 /***
93 * Returns the user password
94 * @return the user password
95 */
96 public String getPassword() {
97 return password;
98 }
99
100 /***
101 * Returns the organization
102 * @return the organization
103 */
104 public String getOrganization() {
105 return organization;
106 }
107
108 /***
109 * Returns the contact
110 * @return the contact
111 */
112 public String getContact() {
113 return contact;
114 }
115 }