001    /*
002     * Copyright 2007 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 1.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/ecl1.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.util.ArrayList;
021    import java.util.List;
022    
023    /**
024     * @author Kuali Rice Team (rice.collab@kuali.org)
025     */
026    public class Course {
027    
028        private String subjectId;
029        private String prefix;
030        private String number;
031        private String suffix;
032        private String title;
033        private String instanceId;
034        private String activityType;
035        private Integer minCredits;
036        private Integer maxCredits;
037        private String gradingOptions;
038        private String transcriptTitle;
039        private KualiDecimal fee;
040        private String offeringStatus;
041    
042        private List<CourseSection> sections;
043    
044        public Course() {
045            sections = new ArrayList<CourseSection>();
046        }
047    
048        public String getSubjectId() {
049            return subjectId;
050        }
051    
052        public void setSubjectId(String subjectId) {
053            this.subjectId = subjectId;
054        }
055    
056        public String getPrefix() {
057            return prefix;
058        }
059    
060        public void setPrefix(String prefix) {
061            this.prefix = prefix;
062        }
063    
064        public String getNumber() {
065            return number;
066        }
067    
068        public void setNumber(String number) {
069            this.number = number;
070        }
071    
072        public String getSuffix() {
073            return suffix;
074        }
075    
076        public void setSuffix(String suffix) {
077            this.suffix = suffix;
078        }
079    
080        public String getTitle() {
081            return title;
082        }
083    
084        public void setTitle(String title) {
085            this.title = title;
086        }
087    
088        public String getInstanceId() {
089            return instanceId;
090        }
091    
092        public void setInstanceId(String instanceId) {
093            this.instanceId = instanceId;
094        }
095    
096        public String getActivityType() {
097            return activityType;
098        }
099    
100        public void setActivityType(String activityType) {
101            this.activityType = activityType;
102        }
103    
104        public Integer getMinCredits() {
105            return minCredits;
106        }
107    
108        public void setMinCredits(Integer minCredits) {
109            this.minCredits = minCredits;
110        }
111    
112        public Integer getMaxCredits() {
113            return maxCredits;
114        }
115    
116        public void setMaxCredits(Integer maxCredits) {
117            this.maxCredits = maxCredits;
118        }
119    
120        public String getGradingOptions() {
121            return gradingOptions;
122        }
123    
124        public void setGradingOptions(String gradingOptions) {
125            this.gradingOptions = gradingOptions;
126        }
127    
128        public String getTranscriptTitle() {
129            return transcriptTitle;
130        }
131    
132        public void setTranscriptTitle(String transcriptTitle) {
133            this.transcriptTitle = transcriptTitle;
134        }
135    
136        public KualiDecimal getFee() {
137            return fee;
138        }
139    
140        public void setFee(KualiDecimal fee) {
141            this.fee = fee;
142        }
143    
144        public String getOfferingStatus() {
145            return offeringStatus;
146        }
147    
148        public void setOfferingStatus(String offeringStatus) {
149            this.offeringStatus = offeringStatus;
150        }
151    
152        public List<CourseSection> getSections() {
153            return sections;
154        }
155    
156        public void setSections(List<CourseSection> sections) {
157            this.sections = sections;
158        }
159    }