|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.incongru.taskman.def.TaskDefImpl
public class TaskDefImpl
| Constructor Summary | |
|---|---|
TaskDefImpl()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
org.joda.time.DateTime |
getDeploymentDateTime()
|
java.lang.String |
getDescription()
|
org.joda.time.Period |
getDueDateTimeout()
How much time before no more reminders are sent and the task is automatically cancelled. |
org.joda.time.Period |
getDuePeriod()
How much time is allowed before the assigne is reminded. |
java.lang.Class<? extends TaskAction> |
getEventActionClass(TaskEvent event)
|
java.util.Map<TaskEvent,java.lang.Class<? extends TaskAction>> |
getEventActionMap()
|
java.lang.Long |
getId()
|
java.lang.String |
getName()
A generic name for this task definition, thus shared by all instances of this definition. |
org.joda.time.Period |
getReminderPeriod()
How much time between each reminder. |
java.lang.Long |
getVersionId()
|
int |
hashCode()
|
boolean |
isSameAs(TaskDef other)
Returns true if all attributes are equals to the given TaskDef, except for id, versionId and deploymentDateTime. |
void |
setDeploymentDateTime(org.joda.time.DateTime deploymentDateTime)
|
void |
setDescription(java.lang.String description)
|
void |
setDueDateTimeout(org.joda.time.Period dueDateTimeout)
|
void |
setDuePeriod(org.joda.time.Period duePeriod)
|
void |
setEventActionMap(java.util.Map<TaskEvent,java.lang.Class<? extends TaskAction>> eventActionMap)
|
void |
setId(java.lang.Long id)
|
void |
setName(java.lang.String name)
|
void |
setReminderPeriod(org.joda.time.Period reminderPeriod)
|
void |
setVersionId(java.lang.Long versionId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskDefImpl()
| Method Detail |
|---|
public java.lang.Class<? extends TaskAction> getEventActionClass(TaskEvent event)
getEventActionClass in interface TaskDefpublic boolean isSameAs(TaskDef other)
TaskDef
isSameAs in interface TaskDefpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.Long getId()
getId in interface TaskDefpublic void setId(java.lang.Long id)
public java.lang.Long getVersionId()
getVersionId in interface TaskDefpublic void setVersionId(java.lang.Long versionId)
setVersionId in interface TaskDefpublic java.lang.String getName()
TaskDef
getName in interface TaskDefpublic void setName(java.lang.String name)
public java.lang.String getDescription()
getDescription in interface TaskDefpublic void setDescription(java.lang.String description)
public org.joda.time.DateTime getDeploymentDateTime()
getDeploymentDateTime in interface TaskDefpublic void setDeploymentDateTime(org.joda.time.DateTime deploymentDateTime)
setDeploymentDateTime in interface TaskDefpublic org.joda.time.Period getDuePeriod()
TaskDef
getDuePeriod in interface TaskDefpublic void setDuePeriod(org.joda.time.Period duePeriod)
public org.joda.time.Period getReminderPeriod()
TaskDef
getReminderPeriod in interface TaskDefpublic void setReminderPeriod(org.joda.time.Period reminderPeriod)
public org.joda.time.Period getDueDateTimeout()
TaskDef
getDueDateTimeout in interface TaskDefpublic void setDueDateTimeout(org.joda.time.Period dueDateTimeout)
public java.util.Map<TaskEvent,java.lang.Class<? extends TaskAction>> getEventActionMap()
public void setEventActionMap(java.util.Map<TaskEvent,java.lang.Class<? extends TaskAction>> eventActionMap)
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||