com.atlassian.jira.issue.attachment
Class AttachmentKey

java.lang.Object
  extended by com.atlassian.jira.issue.attachment.AttachmentKey

public final class AttachmentKey
extends Object

Wraps important information required to retrieve an attachment from an attachment store. Unfortunately the AttachmentStore.AttachmentAdapter doesn't contain information about the project or issue.

Since:
v6.3

Method Summary
 boolean equals(Object o)
           
 String getAttachmentFilename()
           
 Long getAttachmentId()
           
 String getIssueKey()
           
 String getProjectKey()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getAttachmentId

public Long getAttachmentId()

getAttachmentFilename

public String getAttachmentFilename()

getIssueKey

public String getIssueKey()

getProjectKey

public String getProjectKey()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.