|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openfuture.bugbase.domain.DomainObject | +--openfuture.bugbase.domain.BugReport
Fields inherited from class openfuture.bugbase.domain.DomainObject |
STATE_CLEAN, STATE_DELETED, STATE_DIRTY, STATE_NEW |
Constructor Summary | |
BugReport()
|
|
BugReport(java.lang.String project,
java.lang.Integer id,
java.lang.String title,
java.lang.String description,
java.lang.String packageName,
ErrorLevel errorLevel,
java.util.Date dateReported,
java.util.Date dateStarted,
java.util.Date dateFixed,
java.util.Date dateRejected,
User reporter,
User doctor)
|
|
BugReport(java.lang.String project,
java.lang.Integer id,
java.lang.String title,
java.lang.String description,
java.lang.String packageName,
ErrorLevel errorLevel,
java.util.Date dateReported,
java.util.Date dateStarted,
java.util.Date dateFixed,
java.util.Date dateRejected,
User reporter,
User doctor,
java.lang.String attachmentPath)
|
|
BugReport(java.lang.String project,
User reporter)
|
Method Summary | |
java.lang.String |
getAttachmentPath()
Get the value of attachmentPath. |
java.util.Date |
getDateFixed()
Get the value of dateFixed. |
java.util.Date |
getDateRejected()
Get the value of dateRejected. |
java.util.Date |
getDateReported()
Get the value of dateReported. |
java.util.Date |
getDateStarted()
Get the value of dateStarted. |
java.lang.String |
getDescription()
Get the value of description. |
User |
getDoctor()
Get the value of doctor. |
ErrorLevel |
getErrorLevel()
Get the value of errorLevel. |
java.lang.String |
getGroupid()
Get the value of groupid. |
java.lang.Integer |
getId()
Get the value of id. |
java.lang.String |
getPackageName()
Get the value of packageName. |
java.lang.String |
getProject()
Get the value of project. |
User |
getReporter()
Get the value of reporter. |
BugReportStatus |
getStatus()
Derive the status from the date fields. |
java.lang.String |
getTitle()
Get the value of title. |
void |
setAttachmentPath(java.lang.String v)
Set the value of attachmentPath. |
void |
setDateFixed(java.util.Date v)
Set the value of dateFixed. |
void |
setDateRejected(java.util.Date v)
Set the value of dateRejected. |
void |
setDateReported(java.util.Date v)
Set the value of dateReported. |
void |
setDateStarted(java.util.Date v)
Set the value of dateStarted. |
void |
setDescription(java.lang.String v)
Set the value of description. |
void |
setDoctor(User v)
Set the value of doctor. |
void |
setErrorLevel(ErrorLevel v)
Set the value of errorLevel. |
void |
setGroupid(java.lang.String v)
Set the value of groupid. |
void |
setId(java.lang.Integer v)
Set the value of id. |
void |
setPackageName(java.lang.String v)
Set the value of packageName. |
void |
setProject(java.lang.String v)
Set the value of project. |
void |
setReporter(User v)
Set the value of reporter. |
void |
setTitle(java.lang.String v)
Set the value of title. |
java.lang.String |
toEmailContent()
Create a report of the bug status to be sent by email. |
java.util.LinkedList |
validate()
Check, if all mandatory fields are set. |
Methods inherited from class openfuture.bugbase.domain.DomainObject |
getState, isDeleted, isDirty, isNew, setClean, setDirty, setModified, setState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BugReport()
public BugReport(java.lang.String project, User reporter)
public BugReport(java.lang.String project, java.lang.Integer id, java.lang.String title, java.lang.String description, java.lang.String packageName, ErrorLevel errorLevel, java.util.Date dateReported, java.util.Date dateStarted, java.util.Date dateFixed, java.util.Date dateRejected, User reporter, User doctor)
public BugReport(java.lang.String project, java.lang.Integer id, java.lang.String title, java.lang.String description, java.lang.String packageName, ErrorLevel errorLevel, java.util.Date dateReported, java.util.Date dateStarted, java.util.Date dateFixed, java.util.Date dateRejected, User reporter, User doctor, java.lang.String attachmentPath)
Method Detail |
public java.lang.String getTitle()
public void setTitle(java.lang.String v)
v
- Value to assign to title.public java.lang.Integer getId()
public void setId(java.lang.Integer v)
v
- Value to assign to id.public java.util.Date getDateReported()
public void setDateReported(java.util.Date v)
v
- Value to assign to dateReported.public java.util.Date getDateStarted()
public void setDateStarted(java.util.Date v)
v
- Value to assign to dateStarted.public java.util.Date getDateFixed()
public void setDateFixed(java.util.Date v)
v
- Value to assign to dateFixed.public java.util.Date getDateRejected()
public void setDateRejected(java.util.Date v)
v
- Value to assign to dateRejected.public java.lang.String getDescription()
public void setDescription(java.lang.String v)
v
- Value to assign to description.public User getReporter()
public void setReporter(User v)
v
- Value to assign to reporter.public User getDoctor()
public void setDoctor(User v)
v
- Value to assign to doctor.public java.lang.String getPackageName()
public void setPackageName(java.lang.String v)
v
- Value to assign to packageName.public java.lang.String getProject()
public void setProject(java.lang.String v)
v
- Value to assign to project.public ErrorLevel getErrorLevel()
public void setErrorLevel(ErrorLevel v)
v
- Value to assign to errorLevel.public java.lang.String getGroupid()
public void setGroupid(java.lang.String v)
v
- Value to assign to groupid.public java.lang.String getAttachmentPath()
public void setAttachmentPath(java.lang.String v)
v
- Value to assign to attachmentPath.public BugReportStatus getStatus()
public java.lang.String toEmailContent()
public java.util.LinkedList validate()
attachment
.validate
in class DomainObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |