View Javadoc

1   package org.kuali.student.enrollment.class2.grading.dataobject;
2   
3   /*
4    * Copyright 2007 The Kuali Foundation Licensed under the Educational Community
5    * License, Version 1.0 (the "License"); you may not use this file except in
6    * compliance with the License. You may obtain a copy of the License at
7    * http://www.opensource.org/licenses/ecl1.php Unless required by applicable law
8    * or agreed to in writing, software distributed under the License is
9    * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
10   * KIND, either express or implied. See the License for the specific language
11   * governing permissions and limitations under the License.
12   */
13  
14  import org.kuali.student.enrollment.grading.dto.GradeRosterEntryInfo;
15  import org.kuali.student.enrollment.grading.dto.GradeValuesGroupInfo;
16  import org.kuali.student.r2.lum.lrc.dto.ResultValueInfo;
17  
18  import java.io.Serializable;
19  import java.util.ArrayList;
20  import java.util.List;
21  
22  //Core slice classes, just still around for reference.. needs cleanup
23  @Deprecated
24  public class GradeStudent implements Serializable {
25  
26      private String studentId;
27      private String firstName;
28      private String lastName;
29  
30      private String selectedGrade;
31  
32      private boolean percentGrade;
33  
34      private List<ResultValueInfo> availabeGradingOptions;
35  
36      private List<GradeValuesGroupInfo> gradeValuesGroupInfoList;
37  
38      private GradeRosterEntryInfo gradeRosterEntryInfo;
39  
40      public GradeStudent() {}
41  
42      public String getFirstName() {
43          return firstName;
44      }
45  
46      public void setFirstName(String firstName) {
47          this.firstName = firstName;
48      }
49  
50      public String getLastName() {
51          return lastName;
52      }
53  
54      public void setLastName(String lastName) {
55          this.lastName = lastName;
56      }
57  
58      public String getStudentId() {
59          return studentId;
60      }
61  
62      public void setStudentId(String studentId) {
63          this.studentId = studentId;
64      }
65  
66      public List<ResultValueInfo> getAvailabeGradingOptions() {
67          if (availabeGradingOptions == null) {
68              availabeGradingOptions = new ArrayList();
69          }
70          return availabeGradingOptions;
71      }
72  
73      public void setAvailabeGradingOptions(List<ResultValueInfo> availabeGradingOptions) {
74          this.availabeGradingOptions = availabeGradingOptions;
75      }
76  
77      public String getSelectedGrade() {
78          return selectedGrade;
79      }
80  
81      public void setSelectedGrade(String selectedGrade) {
82          this.selectedGrade = selectedGrade;
83      }
84  
85      public boolean isPercentGrade() {
86          return percentGrade;
87      }
88  
89      public void setPercentGrade(boolean percentGrade) {
90          this.percentGrade = percentGrade;
91      }
92  
93      public List<GradeValuesGroupInfo> getGradeValuesGroupInfoList() {
94          return gradeValuesGroupInfoList;
95      }
96  
97      public void setGradeValuesGroupInfoList(List<GradeValuesGroupInfo> resultValuesGroupInfoList) {
98          this.gradeValuesGroupInfoList = resultValuesGroupInfoList;
99      }
100 
101     public GradeRosterEntryInfo getGradeRosterEntryInfo() {
102         return gradeRosterEntryInfo;
103     }
104 
105     public void setGradeRosterEntryInfo(GradeRosterEntryInfo gradeRosterEntryInfo) {
106         this.gradeRosterEntryInfo = gradeRosterEntryInfo;
107     }
108 }