|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.TrackerItemEscalationScheduleDto
public class TrackerItemEscalationScheduleDto
The definition of an entry in the tracker item escalation schedule.
Nested Class Summary | |
---|---|
static class |
TrackerItemEscalationScheduleDto.DueDateComparator
A special Comparator to compare TrackerItemEscalationScheduleDtos by their due dates |
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
IdentifiableDto.IdComparator |
Constructor Summary | |
---|---|
TrackerItemEscalationScheduleDto()
Create a default TrackerItemEscalationScheduleDto |
|
TrackerItemEscalationScheduleDto(java.lang.Integer taskId,
NamedDto predicate,
int level,
java.util.Date dueAt,
boolean fired)
Create a new TrackerItemEscalationScheduleDto with the specified attributes |
|
TrackerItemEscalationScheduleDto(TrackerItemDto item,
TrackerItemEscalationRuleDto rule,
java.util.Date dueAt)
Create a new TrackerItemEscalationScheduleDto with the specified attributes |
|
TrackerItemEscalationScheduleDto(TrackerItemEscalationScheduleDto base)
TrackerItemEscalationScheduleDto copy constructor |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Two TrackerItemEscalationScheduleDtos are compared by their primary key attributes id , predicate and level . |
boolean |
equals(java.lang.Object obj)
Two TrackerItemEscalationScheduleDtos are equal if their primary key attributes id , predicate and level are equal. |
java.util.Date |
getDueAt()
Get the date and time this escalation entry is due at (should be fired at) |
java.lang.Integer |
getId()
Get the ID of the tracker item, this escalation entry belongs to |
int |
getLevel()
Get the escalation level of this entry |
NamedDto |
getPredicate()
Get the tracker item filter/predicate of this entry |
TrackerItemEscalationRuleDto |
getRule()
Get the escalation rule that defines this schedule entry |
boolean |
isFired()
Check if this escalation schedule entry has already been fired |
void |
setDueAt(java.util.Date dueAt)
Set the date and time this escalation entry is due at (should be fired at) |
void |
setFired(boolean fired)
Set whether this escalation schedule entry has already been fired |
void |
setLevel(int level)
Set the escalation level of this entry |
void |
setPredicate(NamedDto predicate)
Set the tracker item filter/predicate of this entry |
void |
setRule(TrackerItemEscalationRuleDto rule)
Set the escalation rule that defines this schedule entry |
java.lang.String |
toString()
|
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
clone, compare, compareInteger, equals, hashCode, hashCode, setId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TrackerItemEscalationScheduleDto()
public TrackerItemEscalationScheduleDto(java.lang.Integer taskId, NamedDto predicate, int level, java.util.Date dueAt, boolean fired)
taskId
- is the ID of the TrackerItemDto
the entry belongs tolevel
- is the escalation level number [1 ... n] (must be unique within tracker)predicate
- is the tracker item filter/predicatedueAt
- is the date and time this escalation entry should be firedfired
- is the status of this entrypublic TrackerItemEscalationScheduleDto(TrackerItemDto item, TrackerItemEscalationRuleDto rule, java.util.Date dueAt)
item
- is the item the entry belongs torule
- is the defining escalation rule of this entrydueAt
- is the date and time this escalation entry should be firedpublic TrackerItemEscalationScheduleDto(TrackerItemEscalationScheduleDto base)
base
- escalation entry to copyMethod Detail |
---|
public java.lang.Integer getId()
getId
in class IdentifiableDto
public NamedDto getPredicate()
public void setPredicate(NamedDto predicate)
predicate
- is the tracker item filter/predicate of this entrypublic int getLevel()
public void setLevel(int level)
level
- is the escalation level, that must be unique within a trackerpublic java.util.Date getDueAt()
public void setDueAt(java.util.Date dueAt)
dueAt
- is the due date and time of this entrypublic boolean isFired()
public void setFired(boolean fired)
fired
- is true if this escalation schedule entry has already been fired, otherwise falsepublic TrackerItemEscalationRuleDto getRule()
public void setRule(TrackerItemEscalationRuleDto rule)
rule
- is the defining escalation rule for this entrypublic boolean equals(java.lang.Object obj)
id
, predicate
and level
are equal.
The attributes dueAt
and fired
are not considered!
equals
in class IdentifiableDto
public int compareTo(java.lang.Object obj)
id
, predicate
and level
.
compareTo
in interface java.lang.Comparable
compareTo
in class IdentifiableDto
public java.lang.String toString()
toString
in class IdentifiableDto
|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |