View Javadoc

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