org.eclipse.mylar.tasks.core
Class RepositoryAttachment
java.lang.Object
org.eclipse.mylar.tasks.core.AttributeContainer
org.eclipse.mylar.tasks.core.RepositoryAttachment
- All Implemented Interfaces:
- java.io.Serializable
public class RepositoryAttachment
- extends AttributeContainer
- implements java.io.Serializable
- Author:
- Rob Elves, Mik Kersten
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
repository
private transient TaskRepository repository
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
isObsolete
private boolean isObsolete
creator
private java.lang.String creator
isPatch
private boolean isPatch
RepositoryAttachment
public RepositoryAttachment(TaskRepository repository,
AbstractAttributeFactory attributeFactory)
isObsolete
public boolean isObsolete()
setObsolete
public void setObsolete(boolean isObsolete)
getDateCreated
public java.lang.String getDateCreated()
- Get the time that this attachment was posted
- Returns:
- The attachment's creation timestamp
getCreator
public java.lang.String getCreator()
setCreator
public void setCreator(java.lang.String creator)
getDescription
public java.lang.String getDescription()
getId
public int getId()
getUrl
public java.lang.String getUrl()
getContentType
public java.lang.String getContentType()
isPatch
public boolean isPatch()
setPatch
public void setPatch(boolean b)
getRepository
public TaskRepository getRepository()
setRepository
public void setRepository(TaskRepository repository)