public class UserPresence
extends java.lang.Object
Constructor and Description |
---|
UserPresence() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getSessionId()
The session id of the user.
|
java.lang.String |
getStatus()
The status of the user with the presence on the server.
|
java.lang.String |
getUserId()
The id of the user.
|
java.lang.String |
getUsername()
The username for the user.
|
int |
hashCode() |
boolean |
isPersistence()
True if this presence generates stored events like persistent chat messages or notifications.
|
void |
setPersistence(boolean persistence)
True if this presence generates stored events like persistent chat messages or notifications.
|
void |
setSessionId(java.lang.String sessionId)
The session id of the user.
|
void |
setStatus(java.lang.String status)
The status of the user with the presence on the server.
|
void |
setUserId(java.lang.String userId)
The id of the user.
|
void |
setUsername(java.lang.String username)
The username for the user.
|
java.lang.String |
toString() |
public boolean isPersistence()
public java.lang.String getSessionId()
public java.lang.String getStatus()
public java.lang.String getUsername()
public java.lang.String getUserId()
public void setPersistence(boolean persistence)
public void setSessionId(java.lang.String sessionId)
public void setStatus(java.lang.String status)
public void setUsername(java.lang.String username)
public void setUserId(java.lang.String userId)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object