View Javadoc

1   /**
2    * Copyright 2012 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   * @author Kuali Student Team
16   */
17  
18  package org.kuali.student.enrollment.class2.courseoffering.dto;
19  
20  import org.kuali.student.enrollment.acal.dto.TermInfo;
21  import org.kuali.student.enrollment.courseoffering.dto.CourseOfferingInfo;
22  import org.kuali.student.r2.lum.course.dto.CourseInfo;
23  
24  import java.io.Serializable;
25  
26  /**
27   * Base class for all the wrappers around CourseOfferingInfo.
28   *
29   * This will be extended by the different Course Offering Wrappers (for now, it's Create and Edit)
30   */
31  public abstract class CourseOfferingWrapper implements Serializable{
32  
33      private CourseInfo course;
34      private CourseOfferingInfo coInfo;
35      private TermInfo term;
36  
37      public CourseOfferingWrapper(){
38          this.coInfo = new CourseOfferingInfo();
39      }
40  
41      public CourseInfo getCourse() {
42          return course;
43      }
44  
45      public void setCourse(CourseInfo course) {
46          this.course = course;
47      }
48  
49      public CourseOfferingInfo getCoInfo() {
50          return coInfo;
51      }
52  
53      public void setCoInfo(CourseOfferingInfo coInfo) {
54          this.coInfo = coInfo;
55      }
56  
57      public TermInfo getTerm() {
58          return term;
59      }
60  
61      public void setTerm(TermInfo term) {
62          this.term = term;
63      }
64  
65  }