View Javadoc

1   /*
2    * Copyright 2007 The Kuali Foundation Licensed under the Educational Community
3    * License, Version 1.0 (the "License"); you may not use this file except in
4    * compliance with the License. You may obtain a copy of the License at
5    * http://www.opensource.org/licenses/ecl1.php Unless required by applicable law
6    * or agreed to in writing, software distributed under the License is
7    * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8    * KIND, either express or implied. See the License for the specific language
9    * governing permissions and limitations under the License.
10   */
11  package org.kuali.student.enrollment.grading.dto;
12  
13  import java.io.Serializable;
14  import java.util.List;
15  
16  import javax.xml.bind.annotation.XmlAccessType;
17  import javax.xml.bind.annotation.XmlAccessorType;
18  import javax.xml.bind.annotation.XmlAnyElement;
19  import javax.xml.bind.annotation.XmlType;
20  
21  import org.kuali.student.enrollment.grading.infc.GradeRoster;
22  import org.kuali.student.r2.common.dto.IdEntityInfo;
23  import org.w3c.dom.Element;
24  
25  /**
26   * @author Kuali Student Team (Kamal)
27   */
28  @XmlAccessorType(XmlAccessType.FIELD)
29  @XmlType(name = "GradeRosterInfo", propOrder = {"gradeRosterEntryIds", "graderIds", "activityOfferingIds",
30          "courseOfferingId", "id", "typeKey", "stateKey", "name", "descr", "meta", "attributes", "_futureElements"})
31  public class GradeRosterInfo extends IdEntityInfo implements GradeRoster, Serializable {
32  
33      private static final long serialVersionUID = 1L;
34  
35      private List<String> gradeRosterEntryIds;
36  
37      private List<String> graderIds;
38  
39      private List<String> activityOfferingIds;
40  
41      private String courseOfferingId;
42  
43      @XmlAnyElement
44      private List<Element> _futureElements;
45  
46      @Override
47      public List<String> getGraderIds() {
48          return this.graderIds;
49      }
50  
51      public void setGraderIds(List<String> graderIds) {
52          this.graderIds = graderIds;
53      }
54  
55      public void setGradeRosterEntryIds(List<String> graderRosterEntryIds) {
56          this.gradeRosterEntryIds = graderRosterEntryIds;
57      }
58  
59      @Override
60      public List<String> getGradeRosterEntryIds() {
61          return gradeRosterEntryIds;
62      }
63  
64      public void setCourseOfferingId(String courseOfferingId) {
65          this.courseOfferingId = courseOfferingId;
66      }
67  
68      public String getCourseOfferingId() {
69          return courseOfferingId;
70      }
71  
72      public void setActivityOfferingIds(List<String> activityOfferings) {
73          this.activityOfferingIds = activityOfferings;
74      }
75  
76      public List<String> getActivityOfferingIds() {
77          return activityOfferingIds;
78      }
79  
80  }