public class DefaultIssue.DefaultLongDescription extends Object implements LongDescription
| Constructor and Description |
|---|
DefaultIssue.DefaultLongDescription()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachment(long id)
Creates and adds an attachment to this bug record.
|
void |
clearAttachments()
Removes all attachments.
|
int |
getAttachmentCount()
Returns the number of attachments.
|
Iterator<Attachment> |
getAttachmentIterator()
Returns all attachments.
|
Issue |
getBugzillaBug()
Returns the Bugzilla bug report this attachment belongs to.
|
String |
getId()
Returns the description ID.
|
Date |
getLastUpdate()
Returns the date of last update.
|
String |
getTheText()
Returns the actual text.
|
String |
getUpdateAuthor()
Returns the author of the last update.
|
Date |
getWhen()
Returns the time of creation of this entry.
|
String |
getWho()
Returns the author of this text.
|
boolean |
removeAttachment(Attachment o)
Removes an attachment.
|
void |
setId(String id)
Sets the description ID
|
void |
setLastUpdate(Date lastUpdate)
Sets the date of last update.
|
void |
setTheText(String theText)
Sets the text of the description.
|
void |
setUpdateAuthor(String updateAuthor)
Sets the last update's author.
|
void |
setWhen(Date when)
Sets the time of creation.
|
void |
setWho(String who)
Sets the author of this text
|
public DefaultIssue.DefaultLongDescription()
public String getId()
getId in interface LongDescriptionpublic void setId(String id)
setId in interface LongDescriptionid - - the ID to setpublic Issue getBugzillaBug()
getBugzillaBug in interface LongDescriptionpublic String getWho()
getWho in interface LongDescriptionpublic void setWho(String who)
setWho in interface LongDescriptionwho - - the author to setpublic Date getWhen()
getWhen in interface LongDescriptionpublic void setWhen(Date when)
setWhen in interface LongDescriptionwhen - - the timestamp to setpublic String getTheText()
getTheText in interface LongDescriptionpublic void setTheText(String theText)
setTheText in interface LongDescriptiontheText - - the text to setpublic Date getLastUpdate()
getLastUpdate in interface LongDescriptionpublic void setLastUpdate(Date lastUpdate)
setLastUpdate in interface LongDescriptionlastUpdate - date to be setpublic String getUpdateAuthor()
getUpdateAuthor in interface LongDescriptionpublic void setUpdateAuthor(String updateAuthor)
setUpdateAuthor in interface LongDescriptionupdateAuthor - author to be setpublic void addAttachment(long id)
addAttachment in interface LongDescriptionpublic void clearAttachments()
clearAttachments in interface LongDescriptionpublic Iterator<Attachment> getAttachmentIterator()
getAttachmentIterator in interface LongDescriptionpublic boolean removeAttachment(Attachment o)
removeAttachment in interface LongDescriptiono - - the attachment to removepublic int getAttachmentCount()
getAttachmentCount in interface LongDescriptionCopyright © 2012. All Rights Reserved.