View Javadoc

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