Class CategoryDefinition

  • All Implemented Interfaces:
    Serializable

    public class CategoryDefinition
    extends Object
    implements Serializable
    Provides information describing a gradebook category that may be useful to consumers of the shared gradebook services. Not persisted.
    See Also:
    Serialized Form
    • Constructor Detail

      • CategoryDefinition

        public CategoryDefinition()
      • CategoryDefinition

        public CategoryDefinition​(Long id,
                                  String name)
    • Method Detail

      • getTotalPoints

        public Double getTotalPoints()
        Helper method to get the total points associated with a category
        Returns:
        the sum of all assignment totals associated with this category
      • isAssignmentInThisCategory

        public boolean isAssignmentInThisCategory​(String assignmentId)
      • getPointsForCategory

        public Double getPointsForCategory()