com.atlassian.jira.rest.client.domain
Class BasicIssue

java.lang.Object
  extended by com.atlassian.jira.rest.client.domain.BasicIssue
All Implemented Interfaces:
AddressableEntity
Direct Known Subclasses:
Issue

public class BasicIssue
extends Object
implements AddressableEntity

Very basic (key and link only) representation of a JIRA issue.

Since:
v0.2

Constructor Summary
BasicIssue(URI self, String key)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getKey()
           
 URI getSelf()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicIssue

public BasicIssue(URI self,
                  String key)
Method Detail

getSelf

public URI getSelf()
Specified by:
getSelf in interface AddressableEntity
Returns:
URI of this issue

getKey

public String getKey()
Returns:
issue key

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.