com.atlassian.jira.rest.client.api.domain
Class BasicIssueType

java.lang.Object
  extended by com.atlassian.jira.rest.client.api.domain.BasicIssueType
All Implemented Interfaces:
AddressableEntity, IdentifiableEntity<Long>, NamedEntity
Direct Known Subclasses:
IssueType

public class BasicIssueType
extends Object
implements AddressableEntity, NamedEntity, IdentifiableEntity<Long>

Basic information about issue type.

Since:
v0.1

Constructor Summary
BasicIssueType(URI self, Long id, String name, boolean isSubtask)
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getId()
           
 String getName()
           
 URI getSelf()
           
protected  com.google.common.base.Objects.ToStringHelper getToStringHelper()
          Returns ToStringHelper with all fields inserted.
 int hashCode()
           
 boolean isSubtask()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicIssueType

public BasicIssueType(URI self,
                      @Nullable
                      Long id,
                      String name,
                      boolean isSubtask)
Method Detail

getId

@Nullable
public Long getId()
Specified by:
getId in interface IdentifiableEntity<Long>

getName

public String getName()
Specified by:
getName in interface NamedEntity

isSubtask

public boolean isSubtask()

getSelf

public URI getSelf()
Specified by:
getSelf in interface AddressableEntity
Returns:
URI to this resource or (usually) its complete version - when partial representation is embedded in other resources

getToStringHelper

protected com.google.common.base.Objects.ToStringHelper getToStringHelper()
Returns ToStringHelper with all fields inserted. Override this method to insert additional fields.

Returns:
ToStringHelper

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 © 2013 Atlassian. All Rights Reserved.