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.timesummary; 17 18 import java.math.BigDecimal; 19 import java.util.Map; 20 21 /** 22 * <p>AssignmentRowContract interface</p> 23 * 24 */ 25 public interface AssignmentRowContract { 26 27 /** 28 * The description associated with the AssignmentRow 29 * 30 * <p> 31 * descr for an AssignmentRow 32 * <p> 33 * 34 * @return descr for AssignmentRow 35 */ 36 public String getDescr(); 37 38 /** 39 * The assignment key associated with the AssignmentRow 40 * 41 * <p> 42 * assignmentKey for an AssignmentRow 43 * <p> 44 * 45 * @return assignmentKey for AssignmentRow 46 */ 47 public String getAssignmentKey(); 48 49 /** 50 * The cssClass associated with the AssignmentRow 51 * 52 * <p> 53 * cssClass for an AssignmentRow 54 * <p> 55 * 56 * @return cssClass for AssignmentRow 57 */ 58 public String getCssClass(); 59 60 /** 61 * The EarnCodeSection object associated with the AssignmentRow 62 * 63 * <p> 64 * earnCodeSection for an AssignmentRow 65 * <p> 66 * 67 * @return earnCodeSection for AssignmentRow 68 */ 69 public EarnCodeSectionContract getEarnCodeSection(); 70 71 /** 72 * The period total associated with the AssignmentRow 73 * 74 * <p> 75 * periodTotal for an AssignmentRow 76 * <p> 77 * 78 * @return periodTotal for AssignmentRow 79 */ 80 public BigDecimal getPeriodTotal(); 81 82 /** 83 * The map of AssignmentColumn objects associated with the AssignmentRow 84 * 85 * <p> 86 * assignmentColumns for an AssignmentRow 87 * <p> 88 * 89 * @return assignmentColumns for AssignmentRow 90 */ 91 public Map<Integer, ? extends AssignmentColumnContract> getAssignmentColumns(); 92 93 }