Class Category

    • Field Detail

      • nameComparator

        public static final Comparator nameComparator
      • averageScoreComparator

        public static final Comparator averageScoreComparator
      • weightComparator

        public static final 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

      • getDropHighest

        public Integer getDropHighest()
      • setDropHighest

        public void setDropHighest​(Integer dropHighest)
      • getKeepHighest

        public Integer getKeepHighest()
      • setKeepHighest

        public void setKeepHighest​(Integer keepHighest)
      • isDropScores

        public boolean isDropScores()
      • getItemValue

        public Double getItemValue()
      • getDropLowest

        public Integer getDropLowest()
      • setDropLowest

        public void setDropLowest​(Integer 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)
      • 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)
      • getIsExtraCredit

        public Boolean getIsExtraCredit()
      • setIsExtraCredit

        public void setIsExtraCredit​(Boolean isExtraCredit)
      • isExtraCredit

        public Boolean isExtraCredit()
      • setExtraCredit

        public void setExtraCredit​(Boolean isExtraCredit)
      • isAssignmentsEqual

        public boolean isAssignmentsEqual()
      • 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)
      • getTotalPointsEarned

        public Double getTotalPointsEarned()
      • setTotalPointsEarned

        public void setTotalPointsEarned​(Double totalPointsEarned)
      • getTotalPointsPossible

        public Double getTotalPointsPossible()
      • setTotalPointsPossible

        public void setTotalPointsPossible​(Double totalPointsPossible)
      • getPointsPossible

        public Double getPointsPossible()
        Fix for Category NPE reported in SAK-14519 Since category uses "totalPointsPossible" property instead of "pointsPossible" property, as in Assignments
      • setPointsPossible

        public void setPointsPossible​(Double pointsPossible)