View Javadoc
1   /**
2    * Copyright 2005-2016 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.kim.bo.ui;
17  
18  import javax.persistence.Column;
19  import javax.persistence.Entity;
20  import javax.persistence.Id;
21  import javax.persistence.Table;
22  import javax.persistence.Transient;
23  
24  import org.kuali.rice.kim.api.KimConstants;
25  
26  /**
27   * This is a description of what this class does - kellerj don't forget to fill this in. 
28   * 
29   * @author Kuali Rice Team (rice.collab@kuali.org)
30   *
31   */
32  @Entity
33  @Table(name = "KRIM_PND_GRP_MBR_T")
34  public class GroupDocumentMember extends KimDocumentBoActiveToFromBase {
35      private static final long serialVersionUID = 1L;
36  
37      @Id
38      @Column(name = "GRP_MBR_ID")
39      protected String groupMemberId;
40  
41      @Column(name = "GRP_ID")
42      protected String groupId;
43  
44      @Column(name = "MBR_ID")
45      protected String memberId;
46  
47      @Column(name = "MBR_NM")
48      protected String memberName;
49  
50      @Transient
51      protected String memberNamespaceCode;
52  
53      @Transient
54      protected String memberFullName;
55  
56      //TODO: remove the default                       
57      @Column(name = "MBR_TYP_CD")
58      protected String memberTypeCode = KimConstants.KimGroupMemberTypes.PRINCIPAL_MEMBER_TYPE.getCode();
59  
60      public String getGroupMemberId() {
61          return this.groupMemberId;
62      }
63  
64      public void setGroupMemberId(String groupMemberId) {
65          this.groupMemberId = groupMemberId;
66      }
67  
68      public String getGroupId() {
69          return this.groupId;
70      }
71  
72      public void setGroupId(String groupId) {
73          this.groupId = groupId;
74      }
75  
76      /**
77  	 * @return the memberId
78  	 */
79      public String getMemberId() {
80          return this.memberId;
81      }
82  
83      /**
84  	 * @param memberId the memberId to set
85  	 */
86      public void setMemberId(String memberId) {
87          this.memberId = memberId;
88      }
89  
90      /**
91  	 * @return the memberTypeCode
92  	 */
93      public String getMemberTypeCode() {
94          return this.memberTypeCode;
95      }
96  
97      /**
98  	 * @param memberTypeCode the memberTypeCode to set
99  	 */
100     public void setMemberTypeCode(String memberTypeCode) {
101         this.memberTypeCode = memberTypeCode;
102     }
103 
104     /**
105 	 * @return the memberName
106 	 */
107     public String getMemberName() {
108         return this.memberName;
109     }
110 
111     /**
112 	 * @param memberName the memberName to set
113 	 */
114     public void setMemberName(String memberName) {
115         this.memberName = memberName;
116     }
117 
118     /**
119 	 * @return the memberNamespaceCode
120 	 */
121     public String getMemberNamespaceCode() {
122         return this.memberNamespaceCode;
123     }
124 
125     /**
126 	 * @param memberNamespaceCode the memberNamespaceCode to set
127 	 */
128     public void setMemberNamespaceCode(String memberNamespaceCode) {
129         this.memberNamespaceCode = memberNamespaceCode;
130     }
131 
132     /**
133 	 * @return the memberFullName
134 	 */
135     public String getMemberFullName() {
136         return this.memberFullName;
137     }
138 
139     /**
140 	 * @param memberFullName the memberFullName to set
141 	 */
142     public void setMemberFullName(String memberFullName) {
143         this.memberFullName = memberFullName;
144     }
145 }