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

java.lang.Object
  extended by com.atlassian.jira.rest.client.api.domain.BasicComponent
All Implemented Interfaces:
AddressableEntity, NamedEntity
Direct Known Subclasses:
Component

public class BasicComponent
extends java.lang.Object
implements AddressableEntity, NamedEntity

Basic information about a project component

Since:
v0.1

Constructor Summary
BasicComponent(java.net.URI self, java.lang.Long id, java.lang.String name, java.lang.String description)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 java.lang.String getName()
           
 java.net.URI getSelf()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicComponent

public BasicComponent(java.net.URI self,
                      @Nullable
                      java.lang.Long id,
                      java.lang.String name,
                      @Nullable
                      java.lang.String description)
Method Detail

getSelf

public java.net.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

getName

public java.lang.String getName()
Specified by:
getName in interface NamedEntity

getId

@Nullable
public java.lang.Long getId()

getDescription

@Nullable
public java.lang.String getDescription()
Returns:
optional description for this project (as defined by the project admin)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2013 Atlassian. All Rights Reserved.