-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRole.java
More file actions
77 lines (61 loc) · 1.37 KB
/
Role.java
File metadata and controls
77 lines (61 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package Frameworkpackage;
public class Role
{
private Long roleId;
private String roleName;
private String[] actions;
private Integer[] elements;
private String[] dashboard;
private Integer[] reports;
public Long getRoleId() {
return roleId;
}
public void setRoleId(Long roleId) {
this.roleId = roleId;
}
public Integer[] getElements() {
return elements;
}
public void setElements(Integer[] elements) {
this.elements = elements;
}
public String getRoleName() {
return roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
public String[] getActions() {
return actions;
}
public Integer[] getReports() {
return reports;
}
public void setActions(String[] actions) {
this.actions = actions;
}
public void setReports(Integer[] reports) {
this.reports = reports;
}
public String[] getDashboardList() {
return dashboard;
}
public void setDashboardList(String[] dashboard) {
this.dashboard= dashboard;
}
public Role(String roleName, String[] actions,Integer[] elements,Integer[] reports) {
super();
this.roleName = roleName;
this.actions = actions;
this.elements = elements;
this.reports = reports;
}
public Role(Long i, String string) {
this.roleId=i;
this.roleName=string;
}
public Role(int i, String string) {
this.roleId=Long.valueOf(i);
this.roleName=string;
}
}