KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jaspersoft > jasperserver > war > dto > RoleWrapper


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.war.dto;
22
23 import java.util.Set JavaDoc;
24 import java.util.List JavaDoc;
25
26 import com.jaspersoft.jasperserver.api.metadata.user.domain.Role;
27
28 /**
29  * @author Ionut Nedelcu (ionutned@users.sourceforge.net)
30  * @version $Id
31  */

32 public class RoleWrapper extends BaseDTO
33 {
34     private Role role;
35     private List JavaDoc usersNotInRole;
36     private List JavaDoc usersInRole;
37     private Object JavaDoc selectedUsersNotInRole;
38     private Object JavaDoc selectedUsersInRole;
39
40
41     public Role getRole()
42     {
43         return role;
44     }
45
46     public void setRole(Role role)
47     {
48         this.role = role;
49     }
50
51     public List JavaDoc getUsersNotInRole()
52     {
53         return usersNotInRole;
54     }
55
56     public void setUsersNotInRole(List JavaDoc usersNotInRole)
57     {
58         this.usersNotInRole = usersNotInRole;
59     }
60
61     public List JavaDoc getUsersInRole()
62     {
63         return usersInRole;
64     }
65
66     public void setUsersInRole(List JavaDoc usersInRole)
67     {
68         this.usersInRole = usersInRole;
69     }
70
71     public Object JavaDoc getSelectedUsersInRole()
72     {
73         return selectedUsersInRole;
74     }
75
76     public void setSelectedUsersInRole(Object JavaDoc selectedUsersInRole)
77     {
78         this.selectedUsersInRole = selectedUsersInRole;
79     }
80
81     public Object JavaDoc getSelectedUsersNotInRole()
82     {
83         return selectedUsersNotInRole;
84     }
85
86     public void setSelectedUsersNotInRole(Object JavaDoc selectedUsersNotInRole)
87     {
88         this.selectedUsersNotInRole = selectedUsersNotInRole;
89     }
90 }
91
Popular Tags