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

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

public class BasicUser
extends Object
implements AddressableEntity

Basic information about a JIRA user

Since:
v0.1

Constructor Summary
BasicUser(URI self, String name, String displayName)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDisplayName()
           
 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

BasicUser

public BasicUser(URI self,
                 String name,
                 String displayName)
Method Detail

getName

public String getName()

getDisplayName

public String getDisplayName()

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

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.