View Javadoc

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