KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jaspersoft > jasperserver > util > UserBean


1 /*
2  * Copyright (C) 2006 JasperSoft http://www.jaspersoft.com
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed WITHOUT ANY WARRANTY; and without the
10  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  * See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, see http://www.gnu.org/licenses/gpl.txt
15  * or write to:
16  *
17  * Free Software Foundation, Inc.,
18  * 59 Temple Place - Suite 330,
19  * Boston, MA USA 02111-1307
20  */

21 package com.jaspersoft.jasperserver.util;
22
23 /**
24  * @author tkavanagh
25  * @version $Id: UserBean.java 3637 2006-06-12 03:43:33Z tony $
26  */

27
28
29 public class UserBean {
30
31     private RoleBean[] roleSet;
32     private String JavaDoc username;
33     private String JavaDoc fullName;
34     private String JavaDoc password;
35     private String JavaDoc emailAddress;
36     private boolean externallyDefined = false;
37     private boolean enabled = false;
38     
39     public String JavaDoc getEmailAddress() {
40         return emailAddress;
41     }
42     
43     public void setEmailAddress(String JavaDoc emailAddress) {
44         this.emailAddress = emailAddress;
45     }
46     
47     public boolean getEnabled() {
48         return enabled;
49     }
50     
51     public void setEnabled(boolean enabled) {
52         this.enabled = enabled;
53     }
54     
55     public boolean getExternallyDefined() {
56         return externallyDefined;
57     }
58     
59     public void setExternallyDefined(boolean externallyDefined) {
60         this.externallyDefined = externallyDefined;
61     }
62     
63     public String JavaDoc getFullName() {
64         return fullName;
65     }
66     
67     public void setFullName(String JavaDoc fullName) {
68         this.fullName = fullName;
69     }
70     
71     public String JavaDoc getPassword() {
72         return password;
73     }
74     
75     public void setPassword(String JavaDoc password) {
76         this.password = password;
77     }
78     
79     public RoleBean[] getRoleSet() {
80         return roleSet;
81     }
82     
83     public void setRoleSet(RoleBean[] roleSet) {
84         this.roleSet = roleSet;
85     }
86     
87     public String JavaDoc getUsername() {
88         return username;
89     }
90     
91     public void setUsername(String JavaDoc username) {
92         this.username = username;
93     }
94 }
95
Popular Tags