001/** 002 * Copyright 2004-2015 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.kpme.tklm.api.time.flsa; 017 018import java.util.List; 019import java.util.Map; 020 021import org.kuali.kpme.tklm.api.leave.block.LeaveBlockContract; 022import org.kuali.kpme.tklm.api.time.timeblock.TimeBlockContract; 023 024 025/** 026 * <p>FlsaDayContract interface</p> 027 * 028 */ 029public interface FlsaDayContract { 030 031 /** 032 * The map of earn code to time blocks associated with the FlsaDay 033 * 034 * <p> 035 * earnCodeToTimeBlocks of a FlsaDay 036 * </p> 037 * 038 * @return earnCodeToTimeBlocks for FlsaDay 039 */ 040 public Map<String, ? extends List<? extends TimeBlockContract>> getEarnCodeToTimeBlocks(); 041 042 /** 043 * The list of applied TimeBlock objects associated with the FlsaDay 044 * 045 * <p> 046 * appliedTimeBlocks of a FlsaDay 047 * </p> 048 * 049 * @return appliedTimeBlocks for FlsaDay 050 */ 051 public List<? extends TimeBlockContract> getAppliedTimeBlocks(); 052 053 /** 054 * The map of earn code to leave blocks associated with the FlsaDay 055 * 056 * <p> 057 * earnCodeToLeaveBlocks of a FlsaDay 058 * </p> 059 * 060 * @return earnCodeToLeaveBlocks for FlsaDay 061 */ 062 public Map<String, ? extends List<? extends LeaveBlockContract>> getEarnCodeToLeaveBlocks(); 063 064 /** 065 * The list of applied LeaveBlock objects associated with the FlsaDay 066 * 067 * <p> 068 * appliedLeaveBlocks of a FlsaDay 069 * </p> 070 * 071 * @return appliedLeaveBlocks for FlsaDay 072 */ 073 public List<? extends LeaveBlockContract> getAppliedLeaveBlocks(); 074 075}