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 2007-2009 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.util.KimConstants;
 21  
 
 22  
 import javax.persistence.*;
 23  
 
 24  
 /**
 25  
  * This is a description of what this class does - kellerj don't forget to fill this in. 
 26  
  * 
 27  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 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  
         //TODO: remove the default
 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  
          * @return the memberId
 78  
          */
 79  
         public String getMemberId() {
 80  0
                 return this.memberId;
 81  
         }
 82  
 
 83  
         /**
 84  
          * @param memberId the memberId to set
 85  
          */
 86  
         public void setMemberId(String memberId) {
 87  0
                 this.memberId = memberId;
 88  0
         }
 89  
 
 90  
         /**
 91  
          * @return the memberTypeCode
 92  
          */
 93  
         public String getMemberTypeCode() {
 94  0
                 return this.memberTypeCode;
 95  
         }
 96  
 
 97  
         /**
 98  
          * @param memberTypeCode the memberTypeCode to set
 99  
          */
 100  
         public void setMemberTypeCode(String memberTypeCode) {
 101  0
                 this.memberTypeCode = memberTypeCode;
 102  0
         }
 103  
 
 104  
         /**
 105  
          * @return the memberName
 106  
          */
 107  
         public String getMemberName() {
 108  0
                 return this.memberName;
 109  
         }
 110  
 
 111  
         /**
 112  
          * @param memberName the memberName to set
 113  
          */
 114  
         public void setMemberName(String memberName) {
 115  0
                 this.memberName = memberName;
 116  0
         }
 117  
 
 118  
         /**
 119  
          * @return the memberNamespaceCode
 120  
          */
 121  
         public String getMemberNamespaceCode() {
 122  0
                 return this.memberNamespaceCode;
 123  
         }
 124  
 
 125  
         /**
 126  
          * @param memberNamespaceCode the memberNamespaceCode to set
 127  
          */
 128  
         public void setMemberNamespaceCode(String memberNamespaceCode) {
 129  0
                 this.memberNamespaceCode = memberNamespaceCode;
 130  0
         }
 131  
         
 132  
         /**
 133  
          * @return the memberFullName
 134  
          */
 135  
         public String getMemberFullName() {
 136  0
                 return this.memberFullName;
 137  
         }
 138  
 
 139  
         /**
 140  
          * @param memberFullName the memberFullName to set
 141  
          */
 142  
         public void setMemberFullName(String memberFullName) {
 143  0
                 this.memberFullName = memberFullName;
 144  0
         }
 145  
 }