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

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

public class BasicComponent
extends Object
implements AddressableEntity, NamedEntity

Basic information about a project component

Since:
v0.1

Constructor Summary
BasicComponent(URI self, Long id, String name, String description)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 Long getId()
           
 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,
                      @Nullable
                      Long id,
                      String name,
                      @Nullable
                      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()
Specified by:
getName in interface NamedEntity

getId

@Nullable
public Long getId()

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