Class GradebookDefinition
- java.lang.Object
-
- org.sakaiproject.component.gradebook.VersionedExternalizable
-
- org.sakaiproject.component.gradebook.GradebookDefinition
-
- All Implemented Interfaces:
Externalizable,Serializable
public class GradebookDefinition extends VersionedExternalizable implements Externalizable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.sakaiproject.component.gradebook.VersionedExternalizable
VersionedExternalizable.Converter
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXTERNALIZABLE_VERSION-
Fields inherited from class org.sakaiproject.component.gradebook.VersionedExternalizable
VERSION_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description GradebookDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Assignment>getAssignments()ListgetCategory()intgetCategoryType()StringgetExternalizableVersion()intgetGradeType()Map<String,Double>getSelectedGradingScaleBottomPercents()StringgetSelectedGradingScaleUid()voidsetAssignments(Collection<Assignment> assignments)voidsetCategory(List category)voidsetCategoryType(int categoryType)voidsetGradeType(int gradeType)voidsetSelectedGradingScaleBottomPercents(Map<String,Double> selectedGradingScaleBottomPercents)voidsetSelectedGradingScaleUid(String selectedGradingScaleUid)-
Methods inherited from class org.sakaiproject.component.gradebook.VersionedExternalizable
fromXml, getXStream, readExternal, toXml, writeExternal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
-
-
-
-
Field Detail
-
EXTERNALIZABLE_VERSION
public static final String EXTERNALIZABLE_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getExternalizableVersion
public String getExternalizableVersion()
- Specified by:
getExternalizableVersionin classVersionedExternalizable- Returns:
- non-null archivable version identifier for the object definition
-
getAssignments
public Collection<Assignment> getAssignments()
-
setAssignments
public void setAssignments(Collection<Assignment> assignments)
-
getSelectedGradingScaleBottomPercents
public Map<String,Double> getSelectedGradingScaleBottomPercents()
-
setSelectedGradingScaleBottomPercents
public void setSelectedGradingScaleBottomPercents(Map<String,Double> selectedGradingScaleBottomPercents)
-
getSelectedGradingScaleUid
public String getSelectedGradingScaleUid()
-
setSelectedGradingScaleUid
public void setSelectedGradingScaleUid(String selectedGradingScaleUid)
-
getGradeType
public int getGradeType()
-
setGradeType
public void setGradeType(int gradeType)
-
getCategoryType
public int getCategoryType()
-
setCategoryType
public void setCategoryType(int categoryType)
-
getCategory
public List getCategory()
-
setCategory
public void setCategory(List category)
-
-