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