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-2008 The Kuali Foundation
 3  
  *
 4  
  *
 5  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 6  
  * you may not use this file except in compliance with the License.
 7  
  * You may obtain a copy of the License at
 8  
  *
 9  
  * http://www.opensource.org/licenses/ecl2.php
 10  
  *
 11  
  * Unless required by applicable law or agreed to in writing, software
 12  
  * distributed under the License is distributed on an "AS IS" BASIS,
 13  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 14  
  * See the License for the specific language governing permissions and
 15  
  * limitations under the License.
 16  
  */
 17  
 package org.kuali.rice.kew.user;
 18  
 
 19  
 import org.kuali.rice.kew.actionrequest.Recipient;
 20  
 import org.kuali.rice.kew.rule.ResolvedQualifiedRole;
 21  
 
 22  
 /**
 23  
  * Marks a Role to be used in an ActionRequestValue.
 24  
  *
 25  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 26  
  */
 27  
 public class RoleRecipient implements Recipient {
 28  
 
 29  
         private static final long serialVersionUID = -8694150869017306593L;
 30  
 
 31  
         private String roleName;
 32  
         private String qualifiedRoleName;
 33  
         private ResolvedQualifiedRole resolvedQualifiedRole;
 34  
         private Recipient targetRecipient;
 35  
 
 36  0
         public RoleRecipient(){}
 37  
 
 38  0
         public RoleRecipient(String roleName) {
 39  0
                 this.roleName = roleName;
 40  0
         }
 41  
 
 42  0
         public RoleRecipient(String roleName, String qualifiedRoleName, ResolvedQualifiedRole resolvedQualifiedRole) {
 43  0
                 this.roleName = roleName;
 44  0
                 this.qualifiedRoleName = qualifiedRoleName;
 45  0
                 this.resolvedQualifiedRole = resolvedQualifiedRole;
 46  0
         }
 47  
 
 48  
         public String getRoleName() {
 49  0
                 return roleName;
 50  
         }
 51  
 
 52  
         public void setRoleName(String roleName) {
 53  0
                 this.roleName = roleName;
 54  0
         }
 55  
 
 56  
         public String getQualifiedRoleName() {
 57  0
                 return qualifiedRoleName;
 58  
         }
 59  
 
 60  
         public void setQualifiedRoleName(String qualifiedRoleName) {
 61  0
                 this.qualifiedRoleName = qualifiedRoleName;
 62  0
         }
 63  
 
 64  
         public ResolvedQualifiedRole getResolvedQualifiedRole() {
 65  0
                 return resolvedQualifiedRole;
 66  
         }
 67  
 
 68  
         public void setResolvedQualifiedRole(ResolvedQualifiedRole resolvedQualifiedRole) {
 69  0
                 this.resolvedQualifiedRole = resolvedQualifiedRole;
 70  0
         }
 71  
 
 72  
         public Recipient getTarget() {
 73  0
                 return targetRecipient;
 74  
         }
 75  
 
 76  
         public void setTarget(Recipient target) {
 77  0
                 this.targetRecipient = target;
 78  0
         }
 79  
 }