| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| RoleMembershipContract | 
  | 
  | 1.0;1 | 
| 1 |  /* | |
| 2 |   * Copyright 2006-2011 The Kuali Foundation | |
| 3 |   * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
| 4 |   * you may not use this file except in compliance with the License. | |
| 5 |   * You may obtain a copy of the License at | |
| 6 |   * | |
| 7 |   * http://www.opensource.org/licenses/ecl2.php | |
| 8 |   * | |
| 9 |   * Unless required by applicable law or agreed to in writing, software | |
| 10 |   * distributed under the License is distributed on an "AS IS" BASIS, | |
| 11 |   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 12 |   * See the License for the specific language governing permissions and | |
| 13 |   * limitations under the License. | |
| 14 |   */ | |
| 15 | ||
| 16 |  package org.kuali.rice.kim.api.role; | |
| 17 | ||
| 18 | ||
| 19 |  import org.kuali.rice.core.util.AttributeSet; | |
| 20 |  import org.kuali.rice.kim.api.common.delegate.DelegateContract; | |
| 21 | ||
| 22 |  import java.util.List; | |
| 23 | ||
| 24 | public interface RoleMembershipContract {  | |
| 25 | ||
| 26 | String getRoleId();  | |
| 27 | ||
| 28 | AttributeSet getQualifier();  | |
| 29 | ||
| 30 |      List<? extends DelegateContract> getDelegates(); | |
| 31 | ||
| 32 | String getRoleMemberId();  | |
| 33 | ||
| 34 | String getMemberId();  | |
| 35 | ||
| 36 | String getMemberTypeCode();  | |
| 37 | ||
| 38 |      /** | |
| 39 |       * @return String Identifier of the role from which the group or principal was derived. | |
| 40 |       */ | |
| 41 | String getEmbeddedRoleId();  | |
| 42 | ||
| 43 |      /** | |
| 44 |       * @return String value used to sort the role members into a meaningful order | |
| 45 |       */ | |
| 46 | String getRoleSortingCode();  | |
| 47 | }  |