org.sakaiproject.tool.gradebook
Class Category

java.lang.Object
  extended by org.sakaiproject.tool.gradebook.Category
All Implemented Interfaces:
Serializable

public class Category
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static Comparator averageScoreComparator
           
static Comparator nameComparator
           
static String SORT_BY_AVERAGE_SCORE
           
static String SORT_BY_NAME
           
static String SORT_BY_WEIGHT
           
static Comparator weightComparator
           
 
Constructor Summary
Category()
           
 
Method Summary
 void calculateStatistics(List<Assignment> assignmentsWithStats)
           
 void calculateStatisticsPerStudent(List<AssignmentGradeRecord> gradeRecords, String studentUid)
           
 int getAssignmentCount()
           
 List getAssignmentList()
           
 Double getAverageScore()
           
 Double getAverageTotalPoints()
           
 Integer getCategoryOrder()
           
 int getDrop_lowest()
           
 Gradebook getGradebook()
           
 Long getId()
           
 boolean getIsCategory()
           
 Double getMean()
           
 String getName()
           
 int getVersion()
           
 Double getWeight()
           
 boolean isAssignment()
           
 boolean isCourseGrade()
           
 Boolean isEnforcePointWeighting()
           
 Boolean isEqualWeightAssignments()
           
 Boolean isExtraCredit()
           
 boolean isRemoved()
           
 Boolean isUnweighted()
           
 void setAssignmentCount(int assignmentCount)
           
 void setAssignmentList(List assignmentList)
           
 void setAverageScore(Double averageScore)
           
 void setAverageTotalPoints(Double averageTotalPoints)
           
 void setCategoryOrder(Integer categoryOrder)
           
 void setDrop_lowest(int drop_lowest)
           
 void setEnforcePointWeighting(Boolean enforcePointWeighting)
           
 void setEqualWeightAssignments(Boolean equalWeightAssignments)
           
 void setExtraCredit(Boolean isExtraCredit)
           
 void setGradebook(Gradebook gradebook)
           
 void setId(Long id)
           
 void setMean(Double mean)
           
 void setName(String name)
           
 void setRemoved(boolean removed)
           
 void setUnweighted(Boolean unweighted)
           
 void setVersion(int version)
           
 void setWeight(Double weight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nameComparator

public static Comparator nameComparator

averageScoreComparator

public static Comparator averageScoreComparator

weightComparator

public static Comparator weightComparator

SORT_BY_NAME

public static String SORT_BY_NAME

SORT_BY_AVERAGE_SCORE

public static String SORT_BY_AVERAGE_SCORE

SORT_BY_WEIGHT

public static String SORT_BY_WEIGHT
Constructor Detail

Category

public Category()
Method Detail

getDrop_lowest

public int getDrop_lowest()

setDrop_lowest

public void setDrop_lowest(int drop_lowest)

getGradebook

public Gradebook getGradebook()

setGradebook

public void setGradebook(Gradebook gradebook)

getId

public Long getId()

setId

public void setId(Long id)

getName

public String getName()

setName

public void setName(String name)

getVersion

public int getVersion()

setVersion

public void setVersion(int version)

getWeight

public Double getWeight()

setWeight

public void setWeight(Double weight)

isRemoved

public boolean isRemoved()

setRemoved

public void setRemoved(boolean removed)

getAverageTotalPoints

public Double getAverageTotalPoints()

setAverageTotalPoints

public void setAverageTotalPoints(Double averageTotalPoints)

getAverageScore

public Double getAverageScore()

setAverageScore

public void setAverageScore(Double averageScore)

calculateStatistics

public void calculateStatistics(List<Assignment> assignmentsWithStats)

calculateStatisticsPerStudent

public void calculateStatisticsPerStudent(List<AssignmentGradeRecord> gradeRecords,
                                          String studentUid)

getAssignmentList

public List getAssignmentList()

setAssignmentList

public void setAssignmentList(List assignmentList)

getIsCategory

public boolean getIsCategory()

isCourseGrade

public boolean isCourseGrade()

isAssignment

public boolean isAssignment()

getMean

public Double getMean()

setMean

public void setMean(Double mean)

getAssignmentCount

public int getAssignmentCount()

setAssignmentCount

public void setAssignmentCount(int assignmentCount)

isExtraCredit

public Boolean isExtraCredit()

setExtraCredit

public void setExtraCredit(Boolean isExtraCredit)

isUnweighted

public Boolean isUnweighted()

setUnweighted

public void setUnweighted(Boolean unweighted)

isEqualWeightAssignments

public Boolean isEqualWeightAssignments()

setEqualWeightAssignments

public void setEqualWeightAssignments(Boolean equalWeightAssignments)

getCategoryOrder

public Integer getCategoryOrder()

setCategoryOrder

public void setCategoryOrder(Integer categoryOrder)

isEnforcePointWeighting

public Boolean isEnforcePointWeighting()

setEnforcePointWeighting

public void setEnforcePointWeighting(Boolean enforcePointWeighting)


Copyright © 2011 Sakai Project. All Rights Reserved.