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
 Long getId()
           
 String getName()
           
 Double getWeight()
           
 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 -


Copyright © 2011 Sakai Project. All Rights Reserved.