org.sakaiproject.component.gradebook
Class AssignmentImpl

java.lang.Object
  extended byorg.sakaiproject.component.gradebook.AssignmentImpl
All Implemented Interfaces:
Assignment

public class AssignmentImpl
extends Object
implements Assignment


Method Summary
 Date getDueDate()
           
 String getGradebookUid()
           
 String getName()
           
 Double getPoints()
           
 boolean isExternallyMaintained()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getGradebookUid

public String getGradebookUid()
Specified by:
getGradebookUid in interface Assignment

getName

public String getName()
Specified by:
getName in interface Assignment
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()
Specified by:
getPoints in interface Assignment
Returns:
Returns the total points the assignment is worth.

getDueDate

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

isExternallyMaintained

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