1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.labs;
17
18 import org.kuali.rice.kim.api.group.GroupMemberContract;
19 import org.kuali.rice.kim.impl.membership.AbstractMemberBo;
20 import org.kuali.rice.krad.data.jpa.PortableSequenceGenerator;
21
22 import javax.persistence.Cacheable;
23 import javax.persistence.Column;
24 import javax.persistence.Entity;
25 import javax.persistence.GeneratedValue;
26 import javax.persistence.Id;
27 import javax.persistence.Table;
28
29
30 @Entity
31 @Cacheable(false)
32 @Table(name = "KRIM_GRP_MBR_T")
33
34 public class LabsGroupControl extends AbstractMemberBo implements GroupMemberContract{
35
36 private transient String myGroupName;
37 private transient String myGroupNameSpace;
38
39 private static final long serialVersionUID = 6773749266062306217L;
40
41 @PortableSequenceGenerator(name = "KRIM_GRP_MBR_ID_S")
42 @GeneratedValue(generator = "KRIM_GRP_MBR_ID_S")
43 @Id
44 @Column(name = "GRP_MBR_ID")
45 private String id;
46
47 @Column(name = "GRP_ID")
48 private String groupId;
49
50 @Override
51 public String getId() {
52 return id;
53 }
54
55 public void setId(String id) {
56 this.id = id;
57 }
58
59 @Override
60 public String getGroupId() {
61 return groupId;
62 }
63
64 public void setGroupId(String groupId) {
65 this.groupId = groupId;
66 }
67
68 public String getMyGroupName() {
69 return myGroupName;
70 }
71
72 public void setMyGroupName(String myGroupName) {
73 this.myGroupName = myGroupName;
74 }
75
76 public String getMyGroupNameSpace() {
77 return myGroupNameSpace;
78 }
79
80 public void setMyGroupNameSpace(String myGroupNameSpace) {
81 this.myGroupNameSpace = myGroupNameSpace;
82 }
83
84
85 }