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.positionappointment; 17 18 import org.kuali.kpme.core.api.bo.HrBusinessObjectContract; 19 import org.kuali.kpme.core.api.location.LocationContract; 20 import org.kuali.kpme.core.api.institution.InstitutionContract; 21 22 /** 23 * <p>PositionAppointmentContract interface</p> 24 * 25 */ 26 public interface PositionAppointmentContract extends HrBusinessObjectContract { 27 28 /** 29 * The primary key for a PositionAppointment entry saved in the database 30 * 31 * <p> 32 * pmPositionAppointmentId for the PositionAppointment. 33 * <p> 34 * 35 * @return pmPositionAppointmentId for PositionAppointment 36 */ 37 public String getPmPositionAppointmentId(); 38 39 /** 40 * The short text name of the appointment type 41 * 42 * <p> 43 * positionAppointment for the PositionAppointment. 44 * <p> 45 * 46 * @return positionAppointment for PositionAppointment 47 */ 48 public String getPositionAppointment(); 49 50 /** 51 * The longer text description of the appointment type 52 * 53 * <p> 54 * description for the PositionAppointment. 55 * <p> 56 * 57 * @return description for PositionAppointment 58 */ 59 public String getDescription(); 60 61 /** 62 * The institution associated with the PositionAppointment 63 * 64 * <p> 65 * institution for the PositionAppointment. 66 * <p> 67 * 68 * @return institution for PositionAppointment 69 */ 70 public String getInstitution(); 71 72 /** 73 * The location associated with the PositionAppointment 74 * 75 * <p> 76 * location for the PositionAppointment. 77 * <p> 78 * 79 * @return location for PositionAppointment 80 */ 81 public String getLocation(); 82 83 /** 84 * The Location object associated with the PositionAppointment 85 * 86 * <p> 87 * locationObj object for the PositionAppointment. 88 * <p> 89 * 90 * @return locationObj for PositionAppointment 91 */ 92 public LocationContract getLocationObj(); 93 94 /** 95 * The Institution object associated with the PositionAppointment 96 * 97 * <p> 98 * institutionObj object for the PositionAppointment. 99 * <p> 100 * 101 * @return institutionObj for PositionAppointment 102 */ 103 public InstitutionContract getInstitutionObj(); 104 105 }