View Javadoc
1   /**
2    * Copyright 2014 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   *
15   * Created by cmuller on 6/13/14
16   */
17  package org.kuali.student.enrollment.registration.client.service.dto;
18  
19  import org.kuali.student.r2.core.scheduling.dto.TimeSlotInfo;
20  
21  import java.util.List;
22  import java.util.Map;
23  
24  /**
25   * This class is a data structure containing necessary data for time conflict checks
26   *
27   * @author Kuali Student Team
28   */
29  public class TimeSlotCalculationContainer {
30  
31      private String id; // unique id. can be regReqItemId or lprId
32      private Map<String, List<TimeSlotInfo>> aoToTimeSlotMap;
33  
34      public String getId() {
35          return id;
36      }
37  
38      public void setId(String id) {
39          this.id = id;
40      }
41  
42      public Map<String, List<TimeSlotInfo>> getAoToTimeSlotMap() {
43          return aoToTimeSlotMap;
44      }
45  
46      public void setAoToTimeSlotMap(Map<String, List<TimeSlotInfo>> aoToTimeSlotMap) {
47          this.aoToTimeSlotMap = aoToTimeSlotMap;
48      }
49  }