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