/
GwtRoleCreator.java
54 lines (41 loc) · 1.48 KB
/
GwtRoleCreator.java
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
/*******************************************************************************
* Copyright (c) 2017, 2020 Eurotech and/or its affiliates and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Eurotech - initial API and implementation
*******************************************************************************/
package org.eclipse.kapua.app.console.module.authorization.shared.model;
import java.util.List;
import org.eclipse.kapua.app.console.module.api.shared.model.GwtEntityCreator;
public class GwtRoleCreator extends GwtEntityCreator {
private static final long serialVersionUID = -1333808048669893906L;
private String name;
private String description;
private List<GwtPermission> permissions;
public GwtRoleCreator() {
super();
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public List<GwtPermission> getPermissions() {
return permissions;
}
public void setPermissions(List<GwtPermission> permissions) {
this.permissions = permissions;
}
}