|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mylar.tasks.core.AttributeContainer
org.eclipse.mylar.tasks.core.TaskComment
public class TaskComment
A comment posted on a bug.
Field Summary | |
---|---|
private int |
attachmentId
|
private boolean |
hasAttachment
|
private int |
number
Comment's number |
private static long |
serialVersionUID
|
Fields inherited from class org.eclipse.mylar.tasks.core.AttributeContainer |
---|
ERROR_NO_ATTRIBUTE_FACTORY |
Constructor Summary | |
---|---|
TaskComment(AbstractAttributeFactory attributeFactory,
int num)
|
Method Summary | |
---|---|
int |
getAttachmentId()
|
java.lang.String |
getAuthor()
Get the author of the comment |
java.lang.String |
getAuthorName()
Get the authors real name |
java.lang.String |
getCreated()
Get the time that this comment was created |
int |
getNumber()
Get this comment's number |
java.lang.String |
getText()
Get the text contained in the comment |
boolean |
hasAttachment()
|
void |
setAttachmentId(int attachmentID)
|
void |
setHasAttachment(boolean b)
|
Methods inherited from class org.eclipse.mylar.tasks.core.AttributeContainer |
---|
addAttribute, addAttributeValue, getAttribute, getAttributes, getAttributeValue, getAttributeValues, removeAllAttributes, removeAttribute, setAttributeFactory, setAttributeValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private final int number
private boolean hasAttachment
private int attachmentId
Constructor Detail |
---|
public TaskComment(AbstractAttributeFactory attributeFactory, int num)
Method Detail |
---|
public int getNumber()
public java.lang.String getCreated()
public java.lang.String getAuthor()
public java.lang.String getAuthorName()
null
if not knownpublic java.lang.String getText()
public void setHasAttachment(boolean b)
public boolean hasAttachment()
public void setAttachmentId(int attachmentID)
public int getAttachmentId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |