org.sakaiproject.service.gradebook.shared
Class CategoryDefinition

java.lang.Object
  extended by org.sakaiproject.service.gradebook.shared.CategoryDefinition

public class CategoryDefinition
extends Object

Provides information describing a gradebook category that may be useful to consumers of the shared gradebook services. Not persisted.


Constructor Summary
CategoryDefinition()
           
 
Method Summary
 List<Assignment> getAssignmentList()
          Get the list of Assignments associated with this category
 Long getId()
           
 String getName()
           
 Double getWeight()
           
 void setAssignmentList(List<Assignment> assignmentList)
          Set the list of Assignments for this category
 void setId(Long id)
           
 void setName(String name)
           
 void setWeight(Double weight)
          the weight set for this category if part of a weighted gradebook.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryDefinition

public CategoryDefinition()
Method Detail

getId

public Long getId()
Returns:
the id of the Category object

setId

public void setId(Long id)
Parameters:
id - the id of the Category object

getName

public String getName()
Returns:
the category name

setName

public void setName(String name)
Parameters:
name - the category name

getWeight

public Double getWeight()
Returns:
the weight set for this category if part of a weighted gradebook. null if gradebook is not weighted

setWeight

public void setWeight(Double weight)
the weight set for this category if part of a weighted gradebook. null if gradebook is not weighted

Parameters:
weight -

getAssignmentList

public List<Assignment> getAssignmentList()
Get the list of Assignments associated with this category

Returns:

setAssignmentList

public void setAssignmentList(List<Assignment> assignmentList)
Set the list of Assignments for this category



Copyright © 2003-2013 Sakai Project. All Rights Reserved.