Coverage Report - org.kuali.rice.kim.bo.role.dto.ResponsibilityActionInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
ResponsibilityActionInfo
0%
0/63
N/A
1
 
 1  
 /*
 2  
  * Copyright 2008 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.core.util.AttributeSet;
 19  
 
 20  
 import java.io.Serializable;
 21  
 import java.util.ArrayList;
 22  
 import java.util.List;
 23  
 
 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 ResponsibilityActionInfo implements Serializable {
 32  
 
 33  
         private static final long serialVersionUID = 308199072590100177L;
 34  
         
 35  
         protected String principalId;
 36  
         protected String groupId;
 37  
         protected String memberRoleId; 
 38  
         protected String responsibilityNamespaceCode;
 39  
         protected String responsibilityName;
 40  
         protected String responsibilityId;
 41  
         protected String roleId;
 42  
         protected String actionTypeCode;
 43  
         protected String actionPolicyCode;
 44  
         protected String roleResponsibilityActionId;
 45  0
         protected String parallelRoutingGroupingCode = "";
 46  
         protected boolean forceAction;
 47  
         protected Integer priorityNumber;
 48  
         protected AttributeSet qualifier;
 49  0
         protected List<DelegateInfo> delegates = new ArrayList<DelegateInfo>();
 50  
 
 51  
         /**
 52  
          * 
 53  
          */
 54  0
         public ResponsibilityActionInfo() {
 55  0
         }
 56  
         
 57  
         public ResponsibilityActionInfo(String principalId, String groupId, String memberRoleId, KimResponsibilityInfo responsibility,
 58  0
                         String roleId, AttributeSet qualifier, List<DelegateInfo> delegates ) {
 59  0
                 this.principalId = principalId;
 60  0
                 this.groupId = groupId;
 61  0
                 this.memberRoleId = memberRoleId;
 62  0
                 this.responsibilityNamespaceCode = responsibility.getNamespaceCode();
 63  0
                 this.responsibilityName = responsibility.getName();
 64  0
                 this.responsibilityId = responsibility.getResponsibilityId();
 65  0
                 this.roleId = roleId;
 66  0
                 this.qualifier = qualifier;
 67  0
                 this.delegates = delegates;
 68  0
         }
 69  
 
 70  
         public String getActionTypeCode() {
 71  0
                 return this.actionTypeCode;
 72  
         }
 73  
 
 74  
         public void setActionTypeCode(String actionTypeCode) {
 75  0
                 this.actionTypeCode = actionTypeCode;
 76  0
         }
 77  
 
 78  
         public Integer getPriorityNumber() {
 79  0
                 return this.priorityNumber;
 80  
         }
 81  
 
 82  
         public void setPriorityNumber(Integer priorityNumber) {
 83  0
                 this.priorityNumber = priorityNumber;
 84  0
         }
 85  
 
 86  
         public String getPrincipalId() {
 87  0
                 return this.principalId;
 88  
         }
 89  
 
 90  
         public void setPrincipalId(String principalId) {
 91  0
                 this.principalId = principalId;
 92  0
         }
 93  
 
 94  
         public String getResponsibilityName() {
 95  0
                 return this.responsibilityName;
 96  
         }
 97  
 
 98  
         public void setResponsibilityName(String responsibilityName) {
 99  0
                 this.responsibilityName = responsibilityName;
 100  0
         }
 101  
 
 102  
         public String getRoleId() {
 103  0
                 return this.roleId;
 104  
         }
 105  
 
 106  
         public void setRoleId(String roleId) {
 107  0
                 this.roleId = roleId;
 108  0
         }
 109  
 
 110  
         public String getGroupId() {
 111  0
                 return this.groupId;
 112  
         }
 113  
 
 114  
         public void setGroupId(String groupId) {
 115  0
                 this.groupId = groupId;
 116  0
         }
 117  
 
 118  
         public AttributeSet getQualifier() {
 119  0
                 return this.qualifier;
 120  
         }
 121  
 
 122  
         public void setQualifier(AttributeSet qualifier) {
 123  0
                 this.qualifier = qualifier;
 124  0
         }
 125  
 
 126  
         public List<DelegateInfo> getDelegates() {
 127  0
                 return this.delegates;
 128  
         }
 129  
 
 130  
         public void setDelegates(List<DelegateInfo> delegates) {
 131  0
                 this.delegates = delegates;
 132  0
         }
 133  
 
 134  
         public String getResponsibilityNamespaceCode() {
 135  0
                 return this.responsibilityNamespaceCode;
 136  
         }
 137  
 
 138  
         public void setResponsibilityNamespaceCode(String responsibilityNamespaceCode) {
 139  0
                 this.responsibilityNamespaceCode = responsibilityNamespaceCode;
 140  0
         }
 141  
 
 142  
         /**
 143  
          * @return the responsibilityId
 144  
          */
 145  
         public String getResponsibilityId() {
 146  0
                 return this.responsibilityId;
 147  
         }
 148  
 
 149  
         /**
 150  
          * @param responsibilityId the responsibilityId to set
 151  
          */
 152  
         public void setResponsibilityId(String responsibilityId) {
 153  0
                 this.responsibilityId = responsibilityId;
 154  0
         }
 155  
 
 156  
         public String getActionPolicyCode() {
 157  0
                 return this.actionPolicyCode;
 158  
         }
 159  
 
 160  
         public void setActionPolicyCode(String actionPolicyCode) {
 161  0
                 this.actionPolicyCode = actionPolicyCode;
 162  0
         }
 163  
 
 164  
         public String getMemberRoleId() {
 165  0
                 return this.memberRoleId;
 166  
         }
 167  
 
 168  
         public void setMemberRoleId(String memberRoleId) {
 169  0
                 this.memberRoleId = memberRoleId;
 170  0
         }
 171  
 
 172  
         /**
 173  
          * @return the forceAction
 174  
          */
 175  
         public boolean isForceAction() {
 176  0
                 return this.forceAction;
 177  
         }
 178  
 
 179  
         /**
 180  
          * @param forceAction the forceAction to set
 181  
          */
 182  
         public void setForceAction(boolean forceAction) {
 183  0
                 this.forceAction = forceAction;
 184  0
         }
 185  
 
 186  
         /**
 187  
          * Constructs a <code>String</code> with all attributes
 188  
          * in name = value format.
 189  
          *
 190  
          * @return a <code>String</code> representation 
 191  
          * of this object.
 192  
          */
 193  
         public String toString() {
 194  0
             final String TAB = "\n";
 195  
             
 196  0
             String retValue = "ResponsibilityActionInfo ( "
 197  
                 + "principalId = " + this.principalId + TAB
 198  
                 + "groupId = " + this.groupId + TAB
 199  
                 + "memberRoleId = " + this.memberRoleId + TAB
 200  
                 + "responsibilityNamespaceCode = " + this.responsibilityNamespaceCode + TAB
 201  
                 + "responsibilityName = " + this.responsibilityName + TAB
 202  
                 + "responsibilityId = " + this.responsibilityId + TAB
 203  
                 + "roleId = " + this.roleId + TAB
 204  
                 + "actionTypeCode = " + this.actionTypeCode + TAB
 205  
                 + "actionPolicyCode = " + this.actionPolicyCode + TAB
 206  
                 + "forceAction = " + this.forceAction + TAB
 207  
                 + "priorityNumber = " + this.priorityNumber + TAB
 208  
                 + "qualifier = " + this.qualifier + TAB
 209  
                 + "delegates = " + this.delegates + TAB
 210  
                 + " )";
 211  
         
 212  0
             return retValue;
 213  
         }
 214  
 
 215  
         public String getParallelRoutingGroupingCode() {
 216  0
                 return this.parallelRoutingGroupingCode;
 217  
         }
 218  
 
 219  
         public void setParallelRoutingGroupingCode(String actionGroupingCode) {
 220  0
                 this.parallelRoutingGroupingCode = actionGroupingCode;
 221  0
         }
 222  
 
 223  
         public String getRoleResponsibilityActionId() {
 224  0
                 return this.roleResponsibilityActionId;
 225  
         }
 226  
 
 227  
         public void setRoleResponsibilityActionId(String roleResponsibilityActionId) {
 228  0
                 this.roleResponsibilityActionId = roleResponsibilityActionId;
 229  0
         }
 230  
         
 231  
         
 232  
 }