public class User extends Entity
| Constructor and Description |
|---|
User()
Constructs this object with no property values.
|
User(JsonObject jsonObject)
Constructs this object from a JSON object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Tests whether this object equals to another or not.
|
Date |
getCreated()
Returns the date when the user was created.
|
String |
getDisplayName()
Returns the display name.
|
Map<String,URL> |
getLinks()
Returns the map of the links.
|
String |
getLocation()
Returns the location.
|
String |
getName()
Returns the name.
|
UUID |
getUuid()
Returns the UUID.
|
URL |
getWebsite()
Returns the URL of the website.
|
int |
hashCode()
Computes the hash code for this object.
|
void |
setCreated(Date created)
Sets the date when the user was created.
|
void |
setDisplayName(String displayName)
Sets the display name.
|
void |
setLinks(Map<String,URL> links)
Sets the map of the links.
|
void |
setLocation(String location)
Sets the location.
|
void |
setName(String name)
Sets the name.
|
void |
setUuid(UUID uuid)
Sets the UUID.
|
void |
setWebsite(URL website)
Sets the URL of the website.
|
public User()
public User(JsonObject jsonObject)
jsonObject - JSON object that represents a Bitbucket userpublic UUID getUuid()
public String getName()
public String getDisplayName()
public URL getWebsite()
null.public String getLocation()
null.public Date getCreated()
null.public void setUuid(UUID uuid)
uuid - UUID to be setpublic void setName(String name)
name - name to be setpublic void setDisplayName(String displayName)
displayName - display name to be setpublic void setLinks(Map<String,URL> links)
links - map of the links to be setpublic void setWebsite(URL website)
website - URL of the website to be setpublic void setLocation(String location)
location - location to be setpublic void setCreated(Date created)
created - date of creation to be setpublic boolean equals(Object object)
null,
names are compared.Copyright © 2015 Nishimura Software Studio. All rights reserved.