org.sakaiproject.tool.gradebook
Class Gradebook
java.lang.Object
org.sakaiproject.tool.gradebook.Gradebook
- All Implemented Interfaces:
- Serializable
public class Gradebook
- extends Object
- implements Serializable
A Gradebook is the top-level object in the Sakai Gradebook tool. Only one
Gradebook should be associated with any particular course (or site, as they
exist in Sakai 1.5) for any given academic term. How courses and terms are
determined will likely depend on the particular Sakai installation.
- Author:
- Josh Holtzman
- See Also:
- Serialized Form
|
Constructor Summary |
Gradebook()
Default no-arg constructor needed for persistence |
Gradebook(String name)
Creates a new gradebook with the given siteId and name |
Gradebook
public Gradebook()
- Default no-arg constructor needed for persistence
Gradebook
public Gradebook(String name)
- Creates a new gradebook with the given siteId and name
- Parameters:
name -
isAllAssignmentsEntered
public boolean isAllAssignmentsEntered()
- Returns:
- Returns the allAssignmentsEntered.
setAllAssignmentsEntered
public void setAllAssignmentsEntered(boolean allAssignmentsEntered)
- Parameters:
allAssignmentsEntered - The allAssignmentsEntered to set.
isAssignmentsDisplayed
public boolean isAssignmentsDisplayed()
- Returns:
- Returns the assignmentsDisplayed.
setAssignmentsDisplayed
public void setAssignmentsDisplayed(boolean assignmentsDisplayed)
- Parameters:
assignmentsDisplayed - The assignmentsDisplayed to set.
getGradeMappings
public Set<GradeMapping> getGradeMappings()
- Returns:
- Returns the gradeMappings.
setGradeMappings
public void setGradeMappings(Set<GradeMapping> gradeMappings)
- Parameters:
gradeMappings - The gradeMappings to set.
getId
public Long getId()
- Returns:
- Returns the id.
setId
public void setId(Long id)
- Parameters:
id - The id to set.
getUid
public String getUid()
- Returns:
- Returns the uid.
setUid
public void setUid(String uid)
- Parameters:
uid - The uid to set.
getName
public String getName()
- Returns:
- Returns the name.
setName
public void setName(String name)
- Parameters:
name - The name to set.
isLocked
public boolean isLocked()
- Returns:
- Returns the locked.
setLocked
public void setLocked(boolean locked)
- Parameters:
locked - The locked to set.
getSelectedGradeMapping
public GradeMapping getSelectedGradeMapping()
- Returns:
- Returns the selectedGradeMapping.
setSelectedGradeMapping
public void setSelectedGradeMapping(GradeMapping selectedGradeMapping)
- Parameters:
selectedGradeMapping - The selectedGradeMapping to set.
getVersion
public int getVersion()
- Returns:
- Returns the version.
setVersion
public void setVersion(int version)
- Parameters:
version - The version to set.
isCourseGradeDisplayed
public boolean isCourseGradeDisplayed()
- Returns:
- Returns the courseGradeDisplayed.
setCourseGradeDisplayed
public void setCourseGradeDisplayed(boolean courseGradeDisplayed)
- Parameters:
courseGradeDisplayed - The courseGradeDisplayed to set.
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getCategory_type
public int getCategory_type()
setCategory_type
public void setCategory_type(int category_type)
getGrade_type
public int getGrade_type()
setGrade_type
public void setGrade_type(int grade_type)
isEqualWeightCategories
public Boolean isEqualWeightCategories()
setEqualWeightCategories
public void setEqualWeightCategories(Boolean equalWeightCategories)
isScaledExtraCredit
public Boolean isScaledExtraCredit()
setScaledExtraCredit
public void setScaledExtraCredit(Boolean scaledExtraCredit)
getShowMean
public Boolean getShowMean()
setShowMean
public void setShowMean(Boolean showMean)
getShowMedian
public Boolean getShowMedian()
setShowMedian
public void setShowMedian(Boolean showMedian)
getShowMode
public Boolean getShowMode()
setShowMode
public void setShowMode(Boolean showMode)
getShowRank
public Boolean getShowRank()
setShowRank
public void setShowRank(Boolean showRank)
getShowItemStatistics
public Boolean getShowItemStatistics()
setShowItemStatistics
public void setShowItemStatistics(Boolean showItemStatistics)
getScaledExtraCredit
public Boolean getScaledExtraCredit()
getShowStatisticsChart
public Boolean getShowStatisticsChart()
setShowStatisticsChart
public void setShowStatisticsChart(Boolean showStatisticsChart)
Copyright © 2003-2013 Sakai Project. All Rights Reserved.