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.tklm.api.time.timehourdetail; 17 18 import java.math.BigDecimal; 19 20 import org.kuali.rice.krad.bo.PersistableBusinessObject; 21 22 /** 23 * <p>TimeHourDetailContract interface</p> 24 * 25 */ 26 public interface TimeHourDetailContract extends PersistableBusinessObject { 27 28 /** 29 * The EarnCode name associated with the TimeHourDetail 30 * 31 * <p> 32 * earnCode for a TimeHourDetail 33 * <p> 34 * 35 * @return earnCode for TimeHourDetail 36 */ 37 public String getEarnCode(); 38 39 /** 40 * The hours associated with the TimeHourDetail 41 * 42 * <p> 43 * hours for a TimeHourDetail 44 * <p> 45 * 46 * @return hours for TimeHourDetail 47 */ 48 public BigDecimal getHours(); 49 50 /** 51 * The amount associated with the TimeHourDetail 52 * 53 * <p> 54 * amount for a TimeHourDetail 55 * <p> 56 * 57 * @return amount for TimeHourDetail 58 */ 59 public BigDecimal getAmount(); 60 61 /** 62 * The id of the TimeBlock object associated with the TimeHourDetail 63 * 64 * <p> 65 * tkTimeBlockId for a TimeHourDetail 66 * <p> 67 * 68 * @return tkTimeBlockId for TimeHourDetail 69 */ 70 public String getTkTimeBlockId(); 71 72 /** 73 * The primary key of a TimeHourDetail entry saved in a database 74 * 75 * <p> 76 * tkTimeHourDetailId of a TimeHourDetail 77 * <p> 78 * 79 * @return tkTimeHourDetailId for TimeHourDetail 80 */ 81 public String getTkTimeHourDetailId(); 82 83 }