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

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

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

Basic information about a JIRA project's role.


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

Constructor Detail

BasicProjectRole

public BasicProjectRole(java.net.URI self,
                        java.lang.String name)
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
Returns:
the name of this project role.

equals

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

hashCode

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

toString

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

getToStringHelper

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


Copyright © 2013 Atlassian. All Rights Reserved.