1 /**
2 * Copyright 2004-2013 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.kpme.pm.api.positiondepartmentaffiliation;
17
18 import org.kuali.kpme.core.api.bo.HrBusinessObjectContract;
19
20 /**
21 * <p>PositionDepartmentAffiliationContract interface</p>
22 *
23 */
24 public interface PositionDepartmentAffiliationContract extends HrBusinessObjectContract {
25
26 /**
27 * The primary key for a PositionDepartmentAffiliation entry saved in the database
28 *
29 * <p>
30 * pmPositionDeptAfflId of a PositionDepartmentAffiliation.
31 * <p>
32 *
33 * @return pmPositionDeptAfflId for PositionDepartmentAffiliation
34 */
35 public String getPmPositionDeptAfflId();
36
37 /**
38 * The name of affiliation types positions may have with departments
39 *
40 * <p>
41 * positionDeptAfflType of a PositionDepartmentAffiliation.
42 * <p>
43 *
44 * @return positionDeptAfflType for PositionDepartmentAffiliation
45 */
46 public String getPositionDeptAfflType();
47
48 /**
49 * The flag that indicates the department affiliation is the primary department that could be used to determine department's access to modify position data
50 *
51 * <p>
52 * primaryIndicator of a Position Department Affiliation.
53 * <p>
54 *
55 * @return primaryIndicator for Position Department Affiliation
56 */
57 public boolean isPrimaryIndicator();
58
59 }