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.flsa; 17 18 import java.util.List; 19 import java.util.Map; 20 21 import org.kuali.kpme.tklm.api.leave.block.LeaveBlockContract; 22 import org.kuali.kpme.tklm.api.time.timeblock.TimeBlockContract; 23 24 25 /** 26 * <p>FlsaDayContract interface</p> 27 * 28 */ 29 public interface FlsaDayContract { 30 31 /** 32 * The map of earn code to time blocks associated with the FlsaDay 33 * 34 * <p> 35 * earnCodeToTimeBlocks of a FlsaDay 36 * </p> 37 * 38 * @return earnCodeToTimeBlocks for FlsaDay 39 */ 40 public Map<String, ? extends List<? extends TimeBlockContract>> getEarnCodeToTimeBlocks(); 41 42 /** 43 * The list of applied TimeBlock objects associated with the FlsaDay 44 * 45 * <p> 46 * appliedTimeBlocks of a FlsaDay 47 * </p> 48 * 49 * @return appliedTimeBlocks for FlsaDay 50 */ 51 public List<? extends TimeBlockContract> getAppliedTimeBlocks(); 52 53 /** 54 * The map of earn code to leave blocks associated with the FlsaDay 55 * 56 * <p> 57 * earnCodeToLeaveBlocks of a FlsaDay 58 * </p> 59 * 60 * @return earnCodeToLeaveBlocks for FlsaDay 61 */ 62 public Map<String, ? extends List<? extends LeaveBlockContract>> getEarnCodeToLeaveBlocks(); 63 64 /** 65 * The list of applied LeaveBlock objects associated with the FlsaDay 66 * 67 * <p> 68 * appliedLeaveBlocks of a FlsaDay 69 * </p> 70 * 71 * @return appliedLeaveBlocks for FlsaDay 72 */ 73 public List<? extends LeaveBlockContract> getAppliedLeaveBlocks(); 74 75 }