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

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

public class BasicComponent
extends java.lang.Object
implements AddressableEntity

Basic information about a project component

Since:
v0.1

Constructor Summary
BasicComponent(java.net.URI self, java.lang.String name, java.lang.String description)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDescription()
           
 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,
                      java.lang.String name,
                      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()

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 © 2012 Atlassian Pty Ltd. All Rights Reserved.