Coverage Report - org.kuali.rice.kew.user.RoleRecipient
 
Classes in this File Line Coverage Branch Coverage Complexity
RoleRecipient
0%
0/21
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.kew.user;
 17  
 
 18  
 import org.kuali.rice.kew.actionrequest.Recipient;
 19  
 import org.kuali.rice.kew.rule.ResolvedQualifiedRole;
 20  
 
 21  
 /**
 22  
  * Marks a Role to be used in an ActionRequestValue.
 23  
  *
 24  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 25  
  */
 26  
 public class RoleRecipient implements Recipient {
 27  
 
 28  
         private static final long serialVersionUID = -8694150869017306593L;
 29  
 
 30  
         private String roleName;
 31  
         private String qualifiedRoleName;
 32  
         private ResolvedQualifiedRole resolvedQualifiedRole;
 33  
         private Recipient targetRecipient;
 34  
 
 35  0
         public RoleRecipient(){}
 36  
 
 37  0
         public RoleRecipient(String roleName) {
 38  0
                 this.roleName = roleName;
 39  0
         }
 40  
 
 41  0
         public RoleRecipient(String roleName, String qualifiedRoleName, ResolvedQualifiedRole resolvedQualifiedRole) {
 42  0
                 this.roleName = roleName;
 43  0
                 this.qualifiedRoleName = qualifiedRoleName;
 44  0
                 this.resolvedQualifiedRole = resolvedQualifiedRole;
 45  0
         }
 46  
 
 47  
         public String getRoleName() {
 48  0
                 return roleName;
 49  
         }
 50  
 
 51  
         public void setRoleName(String roleName) {
 52  0
                 this.roleName = roleName;
 53  0
         }
 54  
 
 55  
         public String getQualifiedRoleName() {
 56  0
                 return qualifiedRoleName;
 57  
         }
 58  
 
 59  
         public void setQualifiedRoleName(String qualifiedRoleName) {
 60  0
                 this.qualifiedRoleName = qualifiedRoleName;
 61  0
         }
 62  
 
 63  
         public ResolvedQualifiedRole getResolvedQualifiedRole() {
 64  0
                 return resolvedQualifiedRole;
 65  
         }
 66  
 
 67  
         public void setResolvedQualifiedRole(ResolvedQualifiedRole resolvedQualifiedRole) {
 68  0
                 this.resolvedQualifiedRole = resolvedQualifiedRole;
 69  0
         }
 70  
 
 71  
         public Recipient getTarget() {
 72  0
                 return targetRecipient;
 73  
         }
 74  
 
 75  
         public void setTarget(Recipient target) {
 76  0
                 this.targetRecipient = target;
 77  0
         }
 78  
 }