1 /** 2 * Copyright 2004-2014 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.positionresponsibility; 17 18 import java.math.BigDecimal; 19 20 import org.kuali.kpme.pm.api.position.PositionDerivedContract; 21 import org.kuali.rice.location.api.campus.CampusContract; 22 23 /** 24 * <p>PositionResponsibilityContract interface</p> 25 * 26 */ 27 public interface PositionResponsibilityContract extends PositionDerivedContract { 28 29 /** 30 * The primary key for a PositionResponsibility entry saved in the database 31 * 32 * <p> 33 * positionResponsibilityId of a PositionResponsibility. 34 * <p> 35 * 36 * @return positionResponsibilityId for PositionResponsibility 37 */ 38 public String getPositionResponsibilityId(); 39 40 /** 41 * The position responsibility Option associated with the PositionResponsibility 42 * 43 * <p> 44 * positionresponsibilityoption of a PositionResponsibility. 45 * <p> 46 * 47 * @return positionresponsibilityoption for PositionResponsibility 48 */ 49 public String getPositionResponsibilityOption(); 50 51 /** 52 * The percentage of time spent on selected position responsibility 53 * 54 * <p> 55 * percentTime of a PositionResponsibility. 56 * <p> 57 * 58 * @return percentTime for PositionResponsibility 59 */ 60 public BigDecimal getPercentTime(); 61 62 63 /** 64 * The Campus business object associated with the PositionResponsibility 65 * 66 * <p> 67 * campusObj of a PositionResponsibility. 68 * <p> 69 * 70 * @return campusObj for PositionResponsibility 71 */ 72 public CampusContract getCampusObj(); 73 74 75 }