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 org.kuali.rice.krad.dto.InactiveableInfo;
 19  
 
 20  
 import java.io.Serializable;
 21  
 import java.util.Date;
 22  
 import java.util.List;
 23  
 import java.util.Map;
 24  
 
 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  
 public class RoleMemberCompleteInfo extends InactiveableInfo implements Serializable {
 33  
 
 34  
         private static final long serialVersionUID = 1L;
 35  
 
 36  
         protected String roleMemberId;
 37  
         protected String roleId;
 38  
         protected Map<String, String> qualifier;
 39  
         protected List<RoleResponsibilityActionInfo> roleRspActions;
 40  
         protected String memberName;
 41  
         protected String memberNamespaceCode;
 42  
         protected String memberId;
 43  
         protected String memberTypeCode;
 44  
         
 45  0
         public RoleMemberCompleteInfo(){
 46  
                 
 47  0
         }
 48  
         
 49  
         public RoleMemberCompleteInfo(String roleId, String roleMemberId, String memberId, 
 50  
                         String memberTypeCode, Date activeFromDate, Date activeToDate, Map<String, String> qualifier) {
 51  0
                 super();
 52  0
                 this.roleId = roleId;
 53  0
                 if ( memberId == null ) {
 54  0
                         throw new IllegalArgumentException( "memberId may not be null" );
 55  
                 }
 56  0
                 this.memberId = memberId;
 57  0
                 if ( memberTypeCode == null ) {
 58  0
                         throw new IllegalArgumentException( "memberTypeCode may not be null" );
 59  
                 }
 60  0
                 this.memberTypeCode = memberTypeCode;
 61  0
                 this.roleMemberId = roleMemberId;
 62  0
                 this.activeFromDate = activeFromDate;
 63  0
                 this.activeToDate = activeToDate;
 64  0
                 this.qualifier = qualifier;
 65  0
         }
 66  
         
 67  
         public String getMemberId() {
 68  0
                 return this.memberId;
 69  
         }
 70  
 
 71  
         public void setMemberId(String memberId) {
 72  0
                 this.memberId = memberId;
 73  0
         }
 74  
 
 75  
         public String getMemberTypeCode() {
 76  0
                 return this.memberTypeCode;
 77  
         }
 78  
 
 79  
         public void setMemberTypeCode(String memberTypeCode) {
 80  0
                 this.memberTypeCode = memberTypeCode;
 81  0
         }
 82  
         
 83  
         public String getRoleMemberId() {
 84  0
                 return this.roleMemberId;
 85  
         }
 86  
         public void setRoleMemberId(String roleMemberId) {
 87  0
                 this.roleMemberId = roleMemberId;
 88  0
         }
 89  
         public String getRoleId() {
 90  0
                 return this.roleId;
 91  
         }
 92  
         public void setRoleId(String roleId) {
 93  0
                 this.roleId = roleId;
 94  0
         }
 95  
 
 96  
         /**
 97  
          * @return the qualifier
 98  
          */
 99  
         public Map<String, String> getQualifier() {
 100  0
                 return this.qualifier;
 101  
         }
 102  
 
 103  
         /**
 104  
          * @param qualifier the qualifier to set
 105  
          */
 106  
         public void setQualifier(Map<String, String> qualifier) {
 107  0
                 this.qualifier = qualifier;
 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 roleRspActions
 140  
          */
 141  
         public List<RoleResponsibilityActionInfo> getRoleRspActions() {
 142  0
                 return this.roleRspActions;
 143  
         }
 144  
 
 145  
         /**
 146  
          * @param roleRspActions the roleRspActions to set
 147  
          */
 148  
         public void setRoleRspActions(List<RoleResponsibilityActionInfo> roleRspActions) {
 149  0
                 this.roleRspActions = roleRspActions;
 150  0
         }
 151  
 
 152  
 }