1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kim.bo.ui;
17
18 import org.hibernate.annotations.GenericGenerator;
19 import org.hibernate.annotations.Parameter;
20 import org.kuali.rice.kim.api.KimConstants;
21
22 import javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.GeneratedValue;
25 import javax.persistence.Id;
26 import javax.persistence.IdClass;
27 import javax.persistence.Table;
28 import javax.persistence.Transient;
29
30
31
32
33
34
35
36 @IdClass(GroupDocumentMemberId.class)
37 @Entity
38 @Table(name="KRIM_PND_GRP_MBR_T")
39 public class GroupDocumentMember extends KimDocumentBoActiveToFromBase {
40
41 @Id
42 @GeneratedValue(generator="KRIM_PND_GRP_MBR_T")
43 @GenericGenerator(name="KRIM_PND_GRP_MBR_T",strategy="org.kuali.rice.core.jpa.spring.RiceNumericStringSequenceStyleGenerator",parameters={
44 @Parameter(name="sequence_name",value="KRIM_PND_GRP_MBR_T"),
45 @Parameter(name="value_column",value="id")
46 })
47 @Column(name="GRP_MBR_ID")
48 protected String groupMemberId;
49
50 @Column(name="GRP_ID")
51 protected String groupId;
52
53 @Column(name="MBR_ID")
54 protected String memberId;
55 @Column(name="MBR_NM")
56 protected String memberName;
57 @Transient
58 protected String memberNamespaceCode;
59
60 protected String memberFullName;
61
62
63 @Column(name="MBR_TYP_CD")
64 protected String memberTypeCode = KimConstants.KimGroupMemberTypes.PRINCIPAL_MEMBER_TYPE.getCode();
65
66 public String getGroupMemberId() {
67 return this.groupMemberId;
68 }
69
70 public void setGroupMemberId(String groupMemberId) {
71 this.groupMemberId = groupMemberId;
72 }
73
74 public String getGroupId() {
75 return this.groupId;
76 }
77
78 public void setGroupId(String groupId) {
79 this.groupId = groupId;
80 }
81
82
83
84
85 public String getMemberId() {
86 return this.memberId;
87 }
88
89
90
91
92 public void setMemberId(String memberId) {
93 this.memberId = memberId;
94 }
95
96
97
98
99 public String getMemberTypeCode() {
100 return this.memberTypeCode;
101 }
102
103
104
105
106 public void setMemberTypeCode(String memberTypeCode) {
107 this.memberTypeCode = memberTypeCode;
108 }
109
110
111
112
113 public String getMemberName() {
114 return this.memberName;
115 }
116
117
118
119
120 public void setMemberName(String memberName) {
121 this.memberName = memberName;
122 }
123
124
125
126
127 public String getMemberNamespaceCode() {
128 return this.memberNamespaceCode;
129 }
130
131
132
133
134 public void setMemberNamespaceCode(String memberNamespaceCode) {
135 this.memberNamespaceCode = memberNamespaceCode;
136 }
137
138
139
140
141 public String getMemberFullName() {
142 return this.memberFullName;
143 }
144
145
146
147
148 public void setMemberFullName(String memberFullName) {
149 this.memberFullName = memberFullName;
150 }
151 }