View Javadoc

1   /**
2    * Copyright 2005-2015 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 edu.sampleu.demo.course;
17  
18  import org.kuali.rice.core.api.util.type.KualiDecimal;
19  
20  import java.io.Serializable;
21  import java.util.ArrayList;
22  import java.util.List;
23  
24  /**
25   * @author Kuali Rice Team (rice.collab@kuali.org)
26   */
27  public class Course implements Serializable {
28  
29      private String subjectId;
30      private String prefix;
31      private String number;
32      private String suffix;
33      private String title;
34      private String instanceId;
35      private String activityType;
36      private Integer minCredits;
37      private Integer maxCredits;
38      private String gradingOptions;
39      private String transcriptTitle;
40      private KualiDecimal fee;
41      private String offeringStatus;
42  
43      private List<CourseSection> sections;
44  
45      public Course() {
46          sections = new ArrayList<CourseSection>();
47      }
48  
49      public String getSubjectId() {
50          return subjectId;
51      }
52  
53      public void setSubjectId(String subjectId) {
54          this.subjectId = subjectId;
55      }
56  
57      public String getPrefix() {
58          return prefix;
59      }
60  
61      public void setPrefix(String prefix) {
62          this.prefix = prefix;
63      }
64  
65      public String getNumber() {
66          return number;
67      }
68  
69      public void setNumber(String number) {
70          this.number = number;
71      }
72  
73      public String getSuffix() {
74          return suffix;
75      }
76  
77      public void setSuffix(String suffix) {
78          this.suffix = suffix;
79      }
80  
81      public String getTitle() {
82          return title;
83      }
84  
85      public void setTitle(String title) {
86          this.title = title;
87      }
88  
89      public String getInstanceId() {
90          return instanceId;
91      }
92  
93      public void setInstanceId(String instanceId) {
94          this.instanceId = instanceId;
95      }
96  
97      public String getActivityType() {
98          return activityType;
99      }
100 
101     public void setActivityType(String activityType) {
102         this.activityType = activityType;
103     }
104 
105     public Integer getMinCredits() {
106         return minCredits;
107     }
108 
109     public void setMinCredits(Integer minCredits) {
110         this.minCredits = minCredits;
111     }
112 
113     public Integer getMaxCredits() {
114         return maxCredits;
115     }
116 
117     public void setMaxCredits(Integer maxCredits) {
118         this.maxCredits = maxCredits;
119     }
120 
121     public String getGradingOptions() {
122         return gradingOptions;
123     }
124 
125     public void setGradingOptions(String gradingOptions) {
126         this.gradingOptions = gradingOptions;
127     }
128 
129     public String getTranscriptTitle() {
130         return transcriptTitle;
131     }
132 
133     public void setTranscriptTitle(String transcriptTitle) {
134         this.transcriptTitle = transcriptTitle;
135     }
136 
137     public KualiDecimal getFee() {
138         return fee;
139     }
140 
141     public void setFee(KualiDecimal fee) {
142         this.fee = fee;
143     }
144 
145     public String getOfferingStatus() {
146         return offeringStatus;
147     }
148 
149     public void setOfferingStatus(String offeringStatus) {
150         this.offeringStatus = offeringStatus;
151     }
152 
153     public List<CourseSection> getSections() {
154         return sections;
155     }
156 
157     public void setSections(List<CourseSection> sections) {
158         this.sections = sections;
159     }
160 }