1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.ibatis.submitted.permissions;
17
18 import java.util.ArrayList;
19 import java.util.List;
20
21 public class Principal {
22
23 private String principalName;
24 private List<Permission> permissions = new ArrayList<>();
25
26 public String getPrincipalName() {
27 return principalName;
28 }
29
30 public void setPrincipalName(String principalName) {
31 this.principalName = principalName;
32 }
33
34 public List<Permission> getPermissions() {
35 return permissions;
36 }
37
38 public void setPermissions(List<Permission> permissions) {
39 this.permissions = permissions;
40 }
41
42 }