public class Gradebook extends Object implements Serializable
| Constructor and Description |
|---|
Gradebook()
Default no-arg constructor needed for persistence
|
Gradebook(String name)
Creates a new gradebook with the given siteId and name
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
getCategory_type() |
int |
getGrade_type() |
Set<GradeMapping> |
getGradeMappings() |
Long |
getId() |
String |
getName() |
Boolean |
getScaledExtraCredit() |
GradeMapping |
getSelectedGradeMapping() |
Boolean |
getShowItemStatistics() |
Boolean |
getShowMean() |
Boolean |
getShowMedian() |
Boolean |
getShowMode() |
Boolean |
getShowRank() |
Boolean |
getShowStatisticsChart() |
String |
getUid() |
int |
getVersion() |
int |
hashCode() |
boolean |
isAllAssignmentsEntered() |
boolean |
isAssignmentsDisplayed() |
boolean |
isCourseAverageDisplayed()
If the course grade is displayed, should the percentage be displayed?
|
boolean |
isCourseGradeDisplayed()
Is the course grade to be shown at all?
|
boolean |
isCourseLetterGradeDisplayed()
If the course grade is displayed, should the letter grade be displayed?
|
boolean |
isCoursePointsDisplayed()
If the course grade is displayed, should the total points be displayed?
|
Boolean |
isEqualWeightCategories() |
boolean |
isLocked() |
Boolean |
isScaledExtraCredit() |
boolean |
isTotalPointsDisplayed() |
void |
setAllAssignmentsEntered(boolean allAssignmentsEntered) |
void |
setAssignmentsDisplayed(boolean assignmentsDisplayed) |
void |
setCategory_type(int category_type) |
void |
setCourseAverageDisplayed(boolean courseAverageDisplayed) |
void |
setCourseGradeDisplayed(boolean courseGradeDisplayed) |
void |
setCourseLetterGradeDisplayed(boolean courseLetterGradeDisplayed)
Set whether or not the letter grade should be displayed.
|
void |
setCoursePointsDisplayed(boolean coursePointsDisplayed) |
void |
setEqualWeightCategories(Boolean equalWeightCategories) |
void |
setGrade_type(int grade_type) |
void |
setGradeMappings(Set<GradeMapping> gradeMappings) |
void |
setId(Long id) |
void |
setLocked(boolean locked) |
void |
setName(String name) |
void |
setScaledExtraCredit(Boolean scaledExtraCredit) |
void |
setSelectedGradeMapping(GradeMapping selectedGradeMapping) |
void |
setShowItemStatistics(Boolean showItemStatistics) |
void |
setShowMean(Boolean showMean) |
void |
setShowMedian(Boolean showMedian) |
void |
setShowMode(Boolean showMode) |
void |
setShowRank(Boolean showRank) |
void |
setShowStatisticsChart(Boolean showStatisticsChart) |
void |
setTotalPointsDisplayed(boolean totalPointsDisplayed) |
void |
setUid(String uid) |
void |
setVersion(int version) |
String |
toString() |
public Gradebook()
public Gradebook(String name)
name - public boolean isAllAssignmentsEntered()
public void setAllAssignmentsEntered(boolean allAssignmentsEntered)
allAssignmentsEntered - The allAssignmentsEntered to set.public boolean isAssignmentsDisplayed()
public void setAssignmentsDisplayed(boolean assignmentsDisplayed)
assignmentsDisplayed - The assignmentsDisplayed to set.public Set<GradeMapping> getGradeMappings()
public void setGradeMappings(Set<GradeMapping> gradeMappings)
gradeMappings - The gradeMappings to set.public Long getId()
public void setId(Long id)
id - The id to set.public String getUid()
public void setUid(String uid)
uid - The uid to set.public String getName()
public void setName(String name)
name - The name to set.public boolean isLocked()
public void setLocked(boolean locked)
locked - The locked to set.public GradeMapping getSelectedGradeMapping()
public void setSelectedGradeMapping(GradeMapping selectedGradeMapping)
selectedGradeMapping - The selectedGradeMapping to set.public int getVersion()
public void setVersion(int version)
version - The version to set.public boolean isCourseGradeDisplayed()
public void setCourseGradeDisplayed(boolean courseGradeDisplayed)
public boolean isTotalPointsDisplayed()
public void setTotalPointsDisplayed(boolean totalPointsDisplayed)
public boolean isCoursePointsDisplayed()
public void setCoursePointsDisplayed(boolean coursePointsDisplayed)
public boolean isCourseAverageDisplayed()
public void setCourseAverageDisplayed(boolean courseAverageDisplayed)
public int getCategory_type()
public void setCategory_type(int category_type)
public int getGrade_type()
public void setGrade_type(int grade_type)
public Boolean isEqualWeightCategories()
public void setEqualWeightCategories(Boolean equalWeightCategories)
public Boolean isScaledExtraCredit()
public void setScaledExtraCredit(Boolean scaledExtraCredit)
public Boolean getShowMean()
public void setShowMean(Boolean showMean)
public Boolean getShowMedian()
public void setShowMedian(Boolean showMedian)
public Boolean getShowMode()
public void setShowMode(Boolean showMode)
public Boolean getShowRank()
public void setShowRank(Boolean showRank)
public Boolean getShowItemStatistics()
public void setShowItemStatistics(Boolean showItemStatistics)
public Boolean getScaledExtraCredit()
public Boolean getShowStatisticsChart()
public void setShowStatisticsChart(Boolean showStatisticsChart)
public boolean isCourseLetterGradeDisplayed()
public void setCourseLetterGradeDisplayed(boolean courseLetterGradeDisplayed)
courseLetterGradeDisplayed - true/false to show letter grade or notCopyright © 2003–2016 Sakai Project. All rights reserved.