org.sakaiproject.service.gradebook.shared
Class CategoryDefinition
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CategoryDefinition
public CategoryDefinition()
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 © 2003-2012 Sakai Project. All Rights Reserved.