Coverage Report - org.kuali.rice.kim.bo.ui.GroupDocumentMember
 
Classes in this File Line Coverage Branch Coverage Complexity
GroupDocumentMember
0%
0/23
N/A
1
 
 1  
 /**
 2  
  * Copyright 2005-2011 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 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  
  * This is a description of what this class does - kellerj don't forget to fill this in. 
 32  
  * 
 33  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 34  
  *
 35  
  */
 36  
 @IdClass(GroupDocumentMemberId.class)
 37  
 @Entity
 38  
 @Table(name="KRIM_PND_GRP_MBR_T")
 39  0
 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  
         //TODO: remove the default
 63  0
         @Column(name="MBR_TYP_CD")
 64  
         protected String memberTypeCode = KimConstants.KimGroupMemberTypes.PRINCIPAL_MEMBER_TYPE.getCode();
 65  
 
 66  
         public String getGroupMemberId() {
 67  0
                 return this.groupMemberId;
 68  
         }
 69  
 
 70  
         public void setGroupMemberId(String groupMemberId) {
 71  0
                 this.groupMemberId = groupMemberId;
 72  0
         }
 73  
 
 74  
         public String getGroupId() {
 75  0
                 return this.groupId;
 76  
         }
 77  
 
 78  
         public void setGroupId(String groupId) {
 79  0
                 this.groupId = groupId;
 80  0
         }
 81  
 
 82  
         /**
 83  
          * @return the memberId
 84  
          */
 85  
         public String getMemberId() {
 86  0
                 return this.memberId;
 87  
         }
 88  
 
 89  
         /**
 90  
          * @param memberId the memberId to set
 91  
          */
 92  
         public void setMemberId(String memberId) {
 93  0
                 this.memberId = memberId;
 94  0
         }
 95  
 
 96  
         /**
 97  
          * @return the memberTypeCode
 98  
          */
 99  
         public String getMemberTypeCode() {
 100  0
                 return this.memberTypeCode;
 101  
         }
 102  
 
 103  
         /**
 104  
          * @param memberTypeCode the memberTypeCode to set
 105  
          */
 106  
         public void setMemberTypeCode(String memberTypeCode) {
 107  0
                 this.memberTypeCode = memberTypeCode;
 108  0
         }
 109  
 
 110  
         /**
 111  
          * @return the memberName
 112  
          */
 113  
         public String getMemberName() {
 114  0
                 return this.memberName;
 115  
         }
 116  
 
 117  
         /**
 118  
          * @param memberName the memberName to set
 119  
          */
 120  
         public void setMemberName(String memberName) {
 121  0
                 this.memberName = memberName;
 122  0
         }
 123  
 
 124  
         /**
 125  
          * @return the memberNamespaceCode
 126  
          */
 127  
         public String getMemberNamespaceCode() {
 128  0
                 return this.memberNamespaceCode;
 129  
         }
 130  
 
 131  
         /**
 132  
          * @param memberNamespaceCode the memberNamespaceCode to set
 133  
          */
 134  
         public void setMemberNamespaceCode(String memberNamespaceCode) {
 135  0
                 this.memberNamespaceCode = memberNamespaceCode;
 136  0
         }
 137  
         
 138  
         /**
 139  
          * @return the memberFullName
 140  
          */
 141  
         public String getMemberFullName() {
 142  0
                 return this.memberFullName;
 143  
         }
 144  
 
 145  
         /**
 146  
          * @param memberFullName the memberFullName to set
 147  
          */
 148  
         public void setMemberFullName(String memberFullName) {
 149  0
                 this.memberFullName = memberFullName;
 150  0
         }
 151  
 }