Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
RoleResponsibilityContract |
|
| 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 | package org.kuali.rice.kim.api.role; | |
16 | ||
17 | import org.kuali.rice.core.api.mo.common.Versioned; | |
18 | import org.kuali.rice.core.api.mo.common.active.Inactivatable; | |
19 | ||
20 | /** | |
21 | * An lightweight association of a Responsibility and a Role represented by references to the identifiers of a | |
22 | * Role and a Responsibility that are related to each other. | |
23 | * | |
24 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
25 | */ | |
26 | public interface RoleResponsibilityContract extends Versioned, Inactivatable { | |
27 | ||
28 | /** | |
29 | * Provides the String identifier for a given RoleResponsibility | |
30 | * | |
31 | * @return id of the Role/Responsibility contract | |
32 | */ | |
33 | String getRoleResponsibilityId(); | |
34 | ||
35 | /** | |
36 | * Returns the String identifier for the Role represented by this Role/Responsibility association. | |
37 | * | |
38 | * @return Role Id | |
39 | */ | |
40 | String getRoleId(); | |
41 | ||
42 | /** | |
43 | * Returns the String identifier for the Responsibility represented by this Role/Responsibility association. | |
44 | * | |
45 | * @return Responsibility Id | |
46 | */ | |
47 | String getResponsibilityId(); | |
48 | } |