1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.demo.uif.form;
17
18 import org.kuali.rice.core.api.membership.MemberType;
19 import org.kuali.rice.kim.impl.group.GroupBo;
20 import org.kuali.rice.kim.impl.identity.principal.PrincipalBo;
21 import org.kuali.rice.kim.impl.role.RoleBo;
22 import org.kuali.rice.krad.bo.DataObjectBase;
23
24 import java.io.Serializable;
25
26
27
28
29 public class UIRoleMember extends DataObjectBase implements Serializable {
30
31 private String typeCode;
32
33 private String principalName;
34
35 private String name;
36
37 private String description;
38
39 public String getTypeCode() {
40 return typeCode;
41 }
42
43 public void setTypeCode(String typeCode) {
44 this.typeCode = typeCode;
45 }
46
47 public void setType(MemberType type) {
48 typeCode = type.getCode();
49 }
50
51 public MemberType getType() {
52 return MemberType.fromCode(typeCode);
53 }
54
55 public String getPrincipalName() {
56 return principalName;
57 }
58
59 public void setPrincipalName(String principalName) {
60 this.principalName = principalName;
61 }
62
63 public String getName() {
64 return name;
65 }
66
67 public void setName(String name) {
68 this.name = name;
69 }
70
71 public String getDescription() {
72 return description;
73 }
74
75 public void setDescription(String description) {
76 this.description = description;
77 }
78 }