001    /**
002     * Copyright 2004-2014 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.kpme.pm.api.positiondepartmentaffiliation;
017    
018    import org.kuali.kpme.core.api.bo.HrBusinessObjectContract;
019    
020    /**
021     * <p>PositionDepartmentAffiliationContract interface</p>
022     *
023     */
024    public interface PositionDepartmentAffiliationContract extends HrBusinessObjectContract {
025    
026        /**
027         * The primary key for a PositionDepartmentAffiliation entry saved in the database
028         *
029         * <p>
030         * pmPositionDeptAfflId of a PositionDepartmentAffiliation.
031         * <p>
032         *
033         * @return pmPositionDeptAfflId for PositionDepartmentAffiliation
034         */
035            public String getPmPositionDeptAfflId();
036    
037        /**
038         * The name of affiliation types positions may have with departments 
039         *
040         * <p>
041         * positionDeptAfflType of a PositionDepartmentAffiliation.
042         * <p>
043         *
044         * @return positionDeptAfflType for PositionDepartmentAffiliation
045         */
046            public String getPositionDeptAfflType();
047    
048        /**
049         * The flag that indicates the department affiliation is the primary department that could be used to determine department's access to modify position data
050         *
051         * <p>
052         * primaryIndicator of a Position Department Affiliation.
053         * <p>
054         *
055         * @return primaryIndicator for Position Department Affiliation
056         */
057            public boolean isPrimaryIndicator();
058    
059    }