public final class User extends java.lang.Object implements java.lang.Cloneable, IUnknownPropertiesConsumer
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
void |
acceptUnknownProperties(java.util.Map<java.lang.String,java.lang.Object> unknown) |
User |
clone() |
java.lang.String |
getEmail()
Gets the e-mail address of the user.
|
java.lang.String |
getId()
Gets the id of the user.
|
java.lang.String |
getIpAddress()
Gets the IP address of the user.
|
java.util.Map<java.lang.String,java.lang.String> |
getOthers()
Gets other user related data.
|
java.lang.String |
getUsername()
Gets the username of the user.
|
void |
setEmail(java.lang.String email)
Gets the e-mail address of the user.
|
void |
setId(java.lang.String id)
Sets the id of the user.
|
void |
setIpAddress(java.lang.String ipAddress)
Sets the IP address of the user.
|
void |
setOthers(java.util.Map<java.lang.String,java.lang.String> other)
Sets other user related data.
|
void |
setUsername(java.lang.String username)
Sets the username of the user.
|
public java.lang.String getEmail()
public void setEmail(java.lang.String email)
email
- the e-mail.public java.lang.String getId()
public void setId(java.lang.String id)
id
- the user id.public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- the username.public java.lang.String getIpAddress()
public void setIpAddress(java.lang.String ipAddress)
ipAddress
- the IP address of the user.public java.util.Map<java.lang.String,java.lang.String> getOthers()
public void setOthers(java.util.Map<java.lang.String,java.lang.String> other)
other
- the other user related data..public void acceptUnknownProperties(java.util.Map<java.lang.String,java.lang.Object> unknown)
acceptUnknownProperties
in interface IUnknownPropertiesConsumer
public User clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException