org.sakaiproject.service.gradebook.shared
Interface Assignment

All Known Implementing Classes:
AssignmentImpl

public interface Assignment

This is the externally exposed definition of a Gradebook assignment. The Course Grade is not considered an assignment.


Method Summary
 Date getDueDate()
           
 String getGradebookUid()
           
 String getName()
           
 Double getPoints()
           
 boolean isExternallyMaintained()
           
 

Method Detail

getGradebookUid

public String getGradebookUid()

getName

public String getName()
Returns:
Returns the name of the assignment. The assignment name is unique among currently defined assignments. However, it is not a safe UID for persistance. An assignment can be renamed. Also, an assignment can be deleted and a new assignment can be created re-using the old name.

getPoints

public Double getPoints()
Returns:
Returns the total points the assignment is worth.

getDueDate

public Date getDueDate()
Returns:
Returns the due date for the assignment, or null if none is defined.

isExternallyMaintained

public boolean isExternallyMaintained()
Returns:
Returns true if the assignment is maintained by some software other than the Gradebook itself.