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 Object
implements AddressableEntity

Basic information about a project component

Since:
v0.1

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

Constructor Detail

BasicComponent

public BasicComponent(URI self,
                      String name,
                      String description)
Method Detail

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

getName

public String getName()

getDescription

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

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.