com.atlassian.jira.issue.attachment
Class Attachment
java.lang.Object
com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
com.atlassian.jira.issue.attachment.Attachment
- All Implemented Interfaces:
- OfBizValueWrapper, Comparable
public class Attachment
- extends AbstractOfBizValueWrapper
- implements Comparable
Constructor Summary |
Attachment(IssueManager issueManager,
org.ofbiz.core.entity.GenericValue genericValue)
Construct an Attachment. |
Attachment(IssueManager issueManager,
org.ofbiz.core.entity.GenericValue genericValue,
com.opensymphony.module.propertyset.PropertySet attachmentProperties)
Construct an Attachment, with properties. |
Attachment
public Attachment(IssueManager issueManager,
org.ofbiz.core.entity.GenericValue genericValue,
com.opensymphony.module.propertyset.PropertySet attachmentProperties)
- Construct an Attachment, with properties.
- Parameters:
issueManager
- genericValue
- FileAttachment GenericValueattachmentProperties
- Properties of the attachment.
Attachment
public Attachment(IssueManager issueManager,
org.ofbiz.core.entity.GenericValue genericValue)
- Construct an Attachment.
- Parameters:
issueManager
- genericValue
- FileAttachment GenericValue
getIssueObject
public Issue getIssueObject()
getIssue
public org.ofbiz.core.entity.GenericValue getIssue()
getId
public Long getId()
getMimetype
public String getMimetype()
getFilename
public String getFilename()
getCreated
public Timestamp getCreated()
getFilesize
public Long getFilesize()
getAuthor
public String getAuthor()
getProperties
public com.opensymphony.module.propertyset.PropertySet getProperties()
- Get attachment properties
- Returns:
- A Map of key ->
PropertySet
s
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
getComparator
protected Comparator getComparator()
Copyright © 2002-2009 Atlassian. All Rights Reserved.