com.atlassian.jira.rest.client.api.domain
Class BasicIssue
java.lang.Object
com.atlassian.jira.rest.client.api.domain.BasicIssue
- All Implemented Interfaces:
- AddressableEntity, IdentifiableEntity<Long>
- Direct Known Subclasses:
- Issue
public class BasicIssue
- extends Object
- implements AddressableEntity, IdentifiableEntity<Long>
Very basic (key and link only) representation of a JIRA issue.
- Since:
- v0.2
BasicIssue
public BasicIssue(URI self,
String key,
Long id)
getSelf
public URI getSelf()
- Specified by:
getSelf in interface AddressableEntity
- Returns:
- URI of this issue
getKey
public String getKey()
- Returns:
- issue key
getId
public Long getId()
- Specified by:
getId in interface IdentifiableEntity<Long>
- Returns:
- issue id
toString
public String toString()
- Overrides:
toString in class Object
getToStringHelper
protected com.google.common.base.Objects.ToStringHelper getToStringHelper()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2013 Atlassian. All Rights Reserved.