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

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

public class BasicProject
extends Object
implements AddressableEntity, NamedEntity

Basic information about a JIRA project

Since:
v0.1

Constructor Summary
BasicProject(URI self, String key, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getKey()
           
 String getName()
           
 URI getSelf()
           
protected  com.google.common.base.Objects.ToStringHelper getToStringHelper()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicProject

public BasicProject(URI self,
                    String key,
                    String name)
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

getKey

public String getKey()

getName

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

toString

public String toString()
Overrides:
toString in class Object

getToStringHelper

protected com.google.common.base.Objects.ToStringHelper getToStringHelper()

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.