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.position.funding; 17 18 import org.kuali.kpme.core.api.bo.HrBusinessObjectContract; 19 20 import java.math.BigDecimal; 21 22 /** 23 * <p>PositionFundingContract interface</p> 24 * 25 */ 26 public interface PositionFundingContract extends HrBusinessObjectContract { 27 28 /** 29 * The primary key for a PositionFunding entry saved in the database 30 * 31 * <p> 32 * pmPositionFunctionId of a PositionFunding. 33 * <p> 34 * 35 * @return pmPositionFunctionId for PositionFunding 36 */ 37 public String getPmPositionFunctionId(); 38 39 /** 40 * The HR position id associated with the PositionFunding 41 * 42 * <p> 43 * hrPositionId of a PositionFunding. 44 * <p> 45 * 46 * @return hrPositionId for PositionFunding 47 */ 48 public String getHrPositionId(); 49 50 /** 51 * The source associated with the PositionFunding 52 * 53 * <p> 54 * source of a PositionFunding. 55 * <p> 56 * 57 * @return source for PositionFunding 58 */ 59 public String getSource(); 60 61 /** 62 * The chart associated with the PositionFunding 63 * 64 * <p> 65 * chart of a PositionFunding. 66 * <p> 67 * 68 * @return chart for PositionFunding 69 */ 70 public String getChart(); 71 72 /** 73 * The organization associated with the PositionFunding 74 * 75 * <p> 76 * org of a PositionFunding. 77 * <p> 78 * 79 * @return org for PositionFunding 80 */ 81 public String getOrg(); 82 83 /** 84 * The account associated with the PositionFunding 85 * 86 * <p> 87 * The account component of the chart of accounts to be charged when time recorded against this work area and task 88 * <p> 89 * 90 * @return account for PositionFunding 91 */ 92 public String getAccount(); 93 94 /** 95 * The subAccount associated with the PositionFunding 96 * 97 * <p> 98 * The sub-account component of the chart of accounts to be charged when time recorded against this work area and task 99 * <p> 100 * 101 * @return subAccount for PositionFunding 102 */ 103 public String getSubAccount(); 104 105 /** 106 * The object code associated with the PositionFunding 107 * 108 * <p> 109 * The Object code component of the chart of accounts to be charged when time recorded against this work area and task. 110 * <p> 111 * 112 * @return objectCode for PositionFunding 113 */ 114 public String getObjectCode(); 115 116 /** 117 * The subObjectCode associated with the PositionFunding 118 * 119 * <p> 120 * The sub-object component of the chart of accounts to be charged when time recorded against this work area and task. 121 * <p> 122 * 123 * @return subObjectCode for PositionFunding 124 */ 125 public String getSubObjectCode(); 126 127 /** 128 * The organization reference code associated with the PositionFunding 129 * 130 * <p> 131 * orgRefCode of a PositionFunding. 132 * <p> 133 * 134 * @return orgRefCode for PositionFunding 135 */ 136 public String getOrgRefCode(); 137 138 /** 139 * The Percentage that the account will be used to fund the position 140 * 141 * <p> 142 * percent of a PositionFunding. 143 * <p> 144 * 145 * @return percent for PositionFunding 146 */ 147 public BigDecimal getPercent(); 148 149 /** 150 * The amount to be funded 151 * 152 * <p> 153 * amount of a PositionFunding. 154 * <p> 155 * 156 * @return amount for PositionFunding 157 */ 158 public BigDecimal getAmount(); 159 160 /** 161 * The flag used to indicate account priority 162 * 163 * <p> 164 * priorityFlag of a PositionFunding. 165 * <p> 166 * 167 * @return priorityFlag for PositionFunding 168 */ 169 public boolean isPriorityFlag(); 170 171 }