| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| PermissionAssigneeInfo |
|
| 1.0;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 java.util.ArrayList; | |
| 19 | import java.util.List; | |
| 20 | ||
| 21 | /** | |
| 22 | * This is a description of what this class does - kellerj don't forget to fill this in. | |
| 23 | * | |
| 24 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
| 25 | * | |
| 26 | */ | |
| 27 | public class PermissionAssigneeInfo { | |
| 28 | protected String principalId; | |
| 29 | protected String groupId; | |
| 30 | 0 | protected List<DelegateInfo> delegates = new ArrayList<DelegateInfo>(); |
| 31 | ||
| 32 | // for jax-ws service construction | |
| 33 | @SuppressWarnings("unused") | |
| 34 | 0 | private PermissionAssigneeInfo() {} |
| 35 | ||
| 36 | 0 | public PermissionAssigneeInfo(String principalId, String groupId, List<DelegateInfo> delegates) { |
| 37 | 0 | this.principalId = principalId; |
| 38 | 0 | this.groupId = groupId; |
| 39 | 0 | this.delegates = delegates; |
| 40 | 0 | } |
| 41 | ||
| 42 | public String getPrincipalId() { | |
| 43 | 0 | return this.principalId; |
| 44 | } | |
| 45 | public void setPrincipalId(String principalId) { | |
| 46 | 0 | this.principalId = principalId; |
| 47 | 0 | } |
| 48 | public String getGroupId() { | |
| 49 | 0 | return this.groupId; |
| 50 | } | |
| 51 | public void setGroupId(String groupId) { | |
| 52 | 0 | this.groupId = groupId; |
| 53 | 0 | } |
| 54 | public List<DelegateInfo> getDelegates() { | |
| 55 | 0 | return this.delegates; |
| 56 | } | |
| 57 | public void setDelegates(List<DelegateInfo> delegates) { | |
| 58 | 0 | this.delegates = delegates; |
| 59 | 0 | } |
| 60 | } |