Coverage Report - org.kuali.rice.kim.bo.role.dto.RoleMemberCompleteInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
RoleMemberCompleteInfo
0%
0/39
0%
0/4
1.222
 
 1  
 /*
 2  
  * Copyright 2008-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.role.dto;
 17  
 
 18  
 import java.io.Serializable;
 19  
 import java.util.Date;
 20  
 import java.util.List;
 21  
 
 22  
 import org.kuali.rice.core.util.AttributeSet;
 23  
 import org.kuali.rice.kns.dto.InactiveableInfo;
 24  
 
 25  
 /**
 26  
  * This is a description of what this class does - kellerj don't forget to fill this in. 
 27  
  * 
 28  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 29  
  *
 30  
  */
 31  
 public class RoleMemberCompleteInfo extends InactiveableInfo implements Serializable {
 32  
 
 33  
         private static final long serialVersionUID = 1L;
 34  
 
 35  
         protected String roleMemberId;
 36  
         protected String roleId;
 37  
         protected AttributeSet qualifier;
 38  
         protected List<RoleResponsibilityActionInfo> roleRspActions;
 39  
         protected String memberName;
 40  
         protected String memberNamespaceCode;
 41  
         protected String memberId;
 42  
         protected String memberTypeCode;
 43  
         
 44  0
         public RoleMemberCompleteInfo(){
 45  
                 
 46  0
         }
 47  
         
 48  
         public RoleMemberCompleteInfo(String roleId, String roleMemberId, String memberId, 
 49  
                         String memberTypeCode, Date activeFromDate, Date activeToDate, AttributeSet qualifier) {
 50  0
                 super();
 51  0
                 this.roleId = roleId;
 52  0
                 if ( memberId == null ) {
 53  0
                         throw new IllegalArgumentException( "memberId may not be null" );
 54  
                 }
 55  0
                 this.memberId = memberId;
 56  0
                 if ( memberTypeCode == null ) {
 57  0
                         throw new IllegalArgumentException( "memberTypeCode may not be null" );
 58  
                 }
 59  0
                 this.memberTypeCode = memberTypeCode;
 60  0
                 this.roleMemberId = roleMemberId;
 61  0
                 this.activeFromDate = activeFromDate;
 62  0
                 this.activeToDate = activeToDate;
 63  0
                 this.qualifier = qualifier;
 64  0
         }
 65  
         
 66  
         public String getMemberId() {
 67  0
                 return this.memberId;
 68  
         }
 69  
 
 70  
         public void setMemberId(String memberId) {
 71  0
                 this.memberId = memberId;
 72  0
         }
 73  
 
 74  
         public String getMemberTypeCode() {
 75  0
                 return this.memberTypeCode;
 76  
         }
 77  
 
 78  
         public void setMemberTypeCode(String memberTypeCode) {
 79  0
                 this.memberTypeCode = memberTypeCode;
 80  0
         }
 81  
         
 82  
         public String getRoleMemberId() {
 83  0
                 return this.roleMemberId;
 84  
         }
 85  
         public void setRoleMemberId(String roleMemberId) {
 86  0
                 this.roleMemberId = roleMemberId;
 87  0
         }
 88  
         public String getRoleId() {
 89  0
                 return this.roleId;
 90  
         }
 91  
         public void setRoleId(String roleId) {
 92  0
                 this.roleId = roleId;
 93  0
         }
 94  
 
 95  
         /**
 96  
          * @return the qualifier
 97  
          */
 98  
         public AttributeSet getQualifier() {
 99  0
                 return this.qualifier;
 100  
         }
 101  
 
 102  
         /**
 103  
          * @param qualifier the qualifier to set
 104  
          */
 105  
         public void setQualifier(AttributeSet qualifier) {
 106  0
                 this.qualifier = qualifier;
 107  0
         }
 108  
 
 109  
         /**
 110  
          * @return the memberName
 111  
          */
 112  
         public String getMemberName() {
 113  0
                 return this.memberName;
 114  
         }
 115  
 
 116  
         /**
 117  
          * @param memberName the memberName to set
 118  
          */
 119  
         public void setMemberName(String memberName) {
 120  0
                 this.memberName = memberName;
 121  0
         }
 122  
 
 123  
         /**
 124  
          * @return the memberNamespaceCode
 125  
          */
 126  
         public String getMemberNamespaceCode() {
 127  0
                 return this.memberNamespaceCode;
 128  
         }
 129  
 
 130  
         /**
 131  
          * @param memberNamespaceCode the memberNamespaceCode to set
 132  
          */
 133  
         public void setMemberNamespaceCode(String memberNamespaceCode) {
 134  0
                 this.memberNamespaceCode = memberNamespaceCode;
 135  0
         }
 136  
 
 137  
         /**
 138  
          * @return the roleRspActions
 139  
          */
 140  
         public List<RoleResponsibilityActionInfo> getRoleRspActions() {
 141  0
                 return this.roleRspActions;
 142  
         }
 143  
 
 144  
         /**
 145  
          * @param roleRspActions the roleRspActions to set
 146  
          */
 147  
         public void setRoleRspActions(List<RoleResponsibilityActionInfo> roleRspActions) {
 148  0
                 this.roleRspActions = roleRspActions;
 149  0
         }
 150  
 
 151  
 }