org.sakaiproject.component.gradebook
Class GradebookDefinition

java.lang.Object
  extended by org.sakaiproject.component.gradebook.VersionedExternalizable
      extended by 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
static String EXTERNALIZABLE_VERSION
           
 
Fields inherited from class org.sakaiproject.component.gradebook.VersionedExternalizable
VERSION_ATTRIBUTE
 
Constructor Summary
GradebookDefinition()
           
 
Method Summary
 Collection<Assignment> getAssignments()
           
 List getCategory()
           
 int getCategoryType()
           
 String getExternalizableVersion()
           
 int getGradeType()
           
 Map<String,Double> getSelectedGradingScaleBottomPercents()
           
 String getSelectedGradingScaleUid()
           
 void setAssignments(Collection<Assignment> assignments)
           
 void setCategory(List category)
           
 void setCategoryType(int categoryType)
           
 void setGradeType(int gradeType)
           
 void setSelectedGradingScaleBottomPercents(Map<String,Double> selectedGradingScaleBottomPercents)
           
 void setSelectedGradingScaleUid(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
Constructor Detail

GradebookDefinition

public GradebookDefinition()
Method Detail

getExternalizableVersion

public String getExternalizableVersion()
Specified by:
getExternalizableVersion in class VersionedExternalizable
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)


Copyright © 2011 Sakai Project. All Rights Reserved.