|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aspsimon.termcomp.entity.Deadline
public class Deadline
Represents a deadline during which submission of tools is not possible. Use
DeadlineHelper.isEnforcing() in a JBoss Seam context to determine if
a deadline is currently active.
| Constructor Summary | |
|---|---|
Deadline()
|
|
| Method Summary | |
|---|---|
java.lang.Long |
getDeadlineId()
Get the unique identifier for this deadline. |
java.util.Date |
getEndDeadline()
Get the end date and time for this deadline. |
java.lang.String |
getName()
Get a description of this deadline. |
java.util.Date |
getStartDeadline()
Get the start date and time for this deadline. |
void |
setDeadlineId(java.lang.Long deadlineId)
Set the unique identifier for this Deadline. |
void |
setEndDeadline(java.util.Date endDeadline)
Set the end date and time for this deadline. |
void |
setName(java.lang.String description)
Set a description for this deadline. |
void |
setStartDeadline(java.util.Date startDeadline)
Set the starting date and time for this deadline. |
java.lang.String |
toString()
A human-readable description of this enforcing period. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Deadline()
| Method Detail |
|---|
public java.lang.Long getDeadlineId()
Deadline. Globally unique.public java.util.Date getEndDeadline()
public java.lang.String getName()
public java.util.Date getStartDeadline()
public void setDeadlineId(java.lang.Long deadlineId)
Deadline. Must be globally
unique, otherwise the database will complain heavily. There is normally
no need to actually use this call in normal programming.
deadlineId - The globally unique identifier for this Deadline.public void setEndDeadline(java.util.Date endDeadline)
endDeadline - The date and time to end the enforcing period.public void setName(java.lang.String description)
description - The description to set.public void setStartDeadline(java.util.Date startDeadline)
startDeadline - The date and time to start the enforcing period.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||