org.sakaiproject.service.gradebook.shared
Class Assignment
java.lang.Object
org.sakaiproject.service.gradebook.shared.Assignment
- All Implemented Interfaces:
- Serializable
public class Assignment
- extends Object
- implements Serializable
JavaBean to hold data associated with a Gradebook assignment.
The Course Grade is not considered an assignment.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Assignment
public Assignment()
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,
since an assignment can be renamed. Also, an assignment can be deleted and a
new assignment can be created re-using the old name.
getId
public Long getId()
- Returns:
- Returns the ID of the assignment in the gradebook
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.
isReleased
public boolean isReleased()
- Returns:
- true if the assignment has been released for view to students
getExternalAppName
public String getExternalAppName()
- Returns:
- Returns the externalAppName, or null if the assignment is
maintained by the Gradebook
getExternalId
public String getExternalId()
- Returns:
- Returns the external Id, or null if the assignment is
maintained by the Gradebook
isCounted
public boolean isCounted()
setCounted
public void setCounted(boolean notCounted)
setPoints
public void setPoints(Double points)
setDueDate
public void setDueDate(Date dueDate)
setExternalAppName
public void setExternalAppName(String externalAppName)
setExternalId
public void setExternalId(String externalId)
setExternallyMaintained
public void setExternallyMaintained(boolean externallyMaintained)
setName
public void setName(String name)
setReleased
public void setReleased(boolean released)
setId
public void setId(Long id)
getCategoryName
public String getCategoryName()
setCategoryName
public void setCategoryName(String categoryName)
getWeight
public Double getWeight()
setWeight
public void setWeight(Double weight)
getUngraded
public boolean getUngraded()
setUngraded
public void setUngraded(boolean ungraded)
Copyright © 2003-2013 Sakai Project. All Rights Reserved.