001/**
002 * Copyright 2005-2015 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package edu.sampleu.demo.course;
017
018import org.kuali.rice.core.api.util.type.KualiDecimal;
019
020import java.io.Serializable;
021import java.util.ArrayList;
022import java.util.List;
023
024/**
025 * @author Kuali Rice Team (rice.collab@kuali.org)
026 */
027public class Course implements Serializable {
028    private static final long serialVersionUID = 4700818811272201371L;
029
030    private String subjectId;
031    private String prefix;
032    private String number;
033    private String suffix;
034    private String title;
035    private String instanceId;
036    private String activityType;
037    private Integer minCredits;
038    private Integer maxCredits;
039    private String gradingOptions;
040    private String transcriptTitle;
041    private KualiDecimal fee;
042    private String offeringStatus;
043
044    private List<CourseSection> sections;
045
046    public Course() {
047        sections = new ArrayList<CourseSection>();
048    }
049
050    public String getSubjectId() {
051        return subjectId;
052    }
053
054    public void setSubjectId(String subjectId) {
055        this.subjectId = subjectId;
056    }
057
058    public String getPrefix() {
059        return prefix;
060    }
061
062    public void setPrefix(String prefix) {
063        this.prefix = prefix;
064    }
065
066    public String getNumber() {
067        return number;
068    }
069
070    public void setNumber(String number) {
071        this.number = number;
072    }
073
074    public String getSuffix() {
075        return suffix;
076    }
077
078    public void setSuffix(String suffix) {
079        this.suffix = suffix;
080    }
081
082    public String getTitle() {
083        return title;
084    }
085
086    public void setTitle(String title) {
087        this.title = title;
088    }
089
090    public String getInstanceId() {
091        return instanceId;
092    }
093
094    public void setInstanceId(String instanceId) {
095        this.instanceId = instanceId;
096    }
097
098    public String getActivityType() {
099        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}