org.sakaiproject.service.gradebook.shared
Class GradeDefinition

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

public class GradeDefinition
extends Object


Constructor Summary
GradeDefinition()
           
 
Method Summary
 Date getDateRecorded()
           
 String getGrade()
           
 String getGradeComment()
           
 int getGradeEntryType()
           
 String getGraderUid()
           
 String getStudentUid()
           
 boolean isGradeReleased()
           
 void setDateRecorded(Date dateRecorded)
           
 void setGrade(String grade)
          current grade for this student in the format according to the gradebook's grade entry type ie %, letter, points
 void setGradeComment(String gradeComment)
           
 void setGradeEntryType(int gradeEntryType)
          constant equivalent to the grade entry type for the gb - %, letter, points, etc.
 void setGradeReleased(boolean gradeReleased)
          true if this grade has been released to the student
 void setGraderUid(String graderUid)
           
 void setStudentUid(String studentUid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradeDefinition

public GradeDefinition()
Method Detail

getStudentUid

public String getStudentUid()

setStudentUid

public void setStudentUid(String studentUid)

getGraderUid

public String getGraderUid()

setGraderUid

public void setGraderUid(String graderUid)

getDateRecorded

public Date getDateRecorded()

setDateRecorded

public void setDateRecorded(Date dateRecorded)

getGrade

public String getGrade()
Returns:
current grade for this student in the format according to the gradebook's grade entry type ie %, letter, points

setGrade

public void setGrade(String grade)
current grade for this student in the format according to the gradebook's grade entry type ie %, letter, points

Parameters:
grade -

getGradeComment

public String getGradeComment()

setGradeComment

public void setGradeComment(String gradeComment)

getGradeEntryType

public int getGradeEntryType()
Returns:
constant equivalent to the grade entry type for the gb - %, letter, points, etc. lets you know what format the given grade will be in

setGradeEntryType

public void setGradeEntryType(int gradeEntryType)
constant equivalent to the grade entry type for the gb - %, letter, points, etc. lets you know what format the given grade will be in

Parameters:
gradeEntryType -

isGradeReleased

public boolean isGradeReleased()
Returns:
true if this grade has been released to the student

setGradeReleased

public void setGradeReleased(boolean gradeReleased)
true if this grade has been released to the student

Parameters:
gradeReleased -


Copyright © 2011 Sakai Project. All Rights Reserved.