001    /**
002     * Copyright 2005-2011 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     */
016    package edu.sampleu.student.dataobject;
017    
018    import org.kuali.rice.core.api.util.type.KualiDecimal;
019    
020    import java.io.Serializable;
021    import java.util.ArrayList;
022    import java.util.List;
023    
024    /**
025     * @author Kuali Rice Team (rice.collab@kuali.org)
026     */
027    public class Course implements Serializable {
028    
029        private String subjectId;
030        private String prefix;
031        private String number;
032        private String suffix;
033        private String title;
034        private String instanceId;
035        private String activityType;
036        private Integer minCredits;
037        private Integer maxCredits;
038        private String gradingOptions;
039        private String transcriptTitle;
040        private KualiDecimal fee;
041        private String offeringStatus;
042    
043        private List<CourseSection> sections;
044    
045        public Course() {
046            sections = new ArrayList<CourseSection>();
047        }
048    
049        public String getSubjectId() {
050            return subjectId;
051        }
052    
053        public void setSubjectId(String subjectId) {
054            this.subjectId = subjectId;
055        }
056    
057        public String getPrefix() {
058            return prefix;
059        }
060    
061        public void setPrefix(String prefix) {
062            this.prefix = prefix;
063        }
064    
065        public String getNumber() {
066            return number;
067        }
068    
069        public void setNumber(String number) {
070            this.number = number;
071        }
072    
073        public String getSuffix() {
074            return suffix;
075        }
076    
077        public void setSuffix(String suffix) {
078            this.suffix = suffix;
079        }
080    
081        public String getTitle() {
082            return title;
083        }
084    
085        public void setTitle(String title) {
086            this.title = title;
087        }
088    
089        public String getInstanceId() {
090            return instanceId;
091        }
092    
093        public void setInstanceId(String instanceId) {
094            this.instanceId = instanceId;
095        }
096    
097        public String getActivityType() {
098            return activityType;
099        }
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    }