forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add grading options into Gradebook feed git-svn-id: https://source.sakaiproject.org/svn/edu-services/trunk@311866 66ffb92e-73f9-0310-93c1-f5514f145a0a
- Loading branch information
Showing
4 changed files
with
165 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
...-service/api/src/java/org/sakaiproject/service/gradebook/shared/GradebookInformation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
/********************************************************************************** | ||
* | ||
* $Id$ | ||
* | ||
*********************************************************************************** | ||
* | ||
* Copyright (c) 2014 The Sakai Foundation | ||
* | ||
* Licensed under the Educational Community License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.opensource.org/licenses/ECL-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
**********************************************************************************/ | ||
|
||
package org.sakaiproject.service.gradebook.shared; | ||
|
||
import java.util.Collection; | ||
import java.util.List; | ||
import java.util.Map; | ||
|
||
public class GradebookInformation { | ||
private String selectedGradingScaleUid; | ||
private Map<String, Double> selectedGradingScaleBottomPercents; | ||
private Collection<Assignment> assignments; | ||
private boolean displayReleasedGradeItemsToStudents; | ||
|
||
private int gradeType; | ||
private int categoryType; | ||
private List category; | ||
private String gradeScale; | ||
|
||
|
||
public String getSelectedGradingScaleUid() { | ||
return selectedGradingScaleUid; | ||
} | ||
public void setSelectedGradingScaleUid(String selectedGradingScaleUid) { | ||
this.selectedGradingScaleUid = selectedGradingScaleUid; | ||
} | ||
public Map<String, Double> getSelectedGradingScaleBottomPercents() { | ||
return selectedGradingScaleBottomPercents; | ||
} | ||
public void setSelectedGradingScaleBottomPercents( | ||
Map<String, Double> selectedGradingScaleBottomPercents) { | ||
this.selectedGradingScaleBottomPercents = selectedGradingScaleBottomPercents; | ||
} | ||
public Collection<Assignment> getAssignments() { | ||
return assignments; | ||
} | ||
public void setAssignments(Collection<Assignment> assignments) { | ||
this.assignments = assignments; | ||
} | ||
public boolean isDisplayReleasedGradeItemsToStudents() { | ||
return displayReleasedGradeItemsToStudents; | ||
} | ||
public void setDisplayReleasedGradeItemsToStudents( | ||
boolean displayReleasedGradeItemsToStudents) { | ||
this.displayReleasedGradeItemsToStudents = displayReleasedGradeItemsToStudents; | ||
} | ||
public int getGradeType() { | ||
return gradeType; | ||
} | ||
public void setGradeType(int gradeType) { | ||
this.gradeType = gradeType; | ||
} | ||
public int getCategoryType() { | ||
return categoryType; | ||
} | ||
public void setCategoryType(int categoryType) { | ||
this.categoryType = categoryType; | ||
} | ||
public List getCategory() { | ||
return category; | ||
} | ||
public void setCategory(List category) { | ||
this.category = category; | ||
} | ||
public String getGradeScale() { | ||
return gradeScale; | ||
} | ||
public void setGradeScale(String gradeScale) { | ||
this.gradeScale = gradeScale; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters