public class UserProperties extends Object implements IUserProperties, Cloneable
IUserProperties
implementation.Constructor and Description |
---|
UserProperties(Map<String,String> customAttributes)
Creates a new user properties instance with its custom attributes initialized with the content of the given map.
|
Modifier and Type | Method and Description |
---|---|
UserProperties |
clone() |
Map<String,List<Object>> |
getCustomAttributes()
Returns a mutable map of the custom attributes.
|
String |
getEmail()
Returns the e-mail.
|
String |
getFirstName()
Returns the first name.
|
String |
getFullName()
Returns the full name.
|
String |
getLastName()
Returns the last name.
|
String |
getMiddleName()
Returns the middle name.
|
void |
setEmail(String email)
Sets the e-mail.
|
void |
setFirstName(String firstName)
Sets the first name.
|
void |
setLastName(String lastName)
Sets the last name.
|
void |
setMiddleName(String middleName)
Sets the middle name.
|
public String getEmail()
IUserPropertiesReadOnly
getEmail
in interface IUserPropertiesReadOnly
null
if no e-mail is set.public void setEmail(String email)
IUserProperties
setEmail
in interface IUserProperties
email
- the e-mail.public String getFirstName()
IUserPropertiesReadOnly
getFirstName
in interface IUserPropertiesReadOnly
null
if no first name is set.public void setFirstName(String firstName)
IUserProperties
setFirstName
in interface IUserProperties
firstName
- the first name.public String getMiddleName()
IUserPropertiesReadOnly
getMiddleName
in interface IUserPropertiesReadOnly
null
if no middle name is set.public void setMiddleName(String middleName)
IUserProperties
setMiddleName
in interface IUserProperties
middleName
- the middle name.public String getLastName()
IUserPropertiesReadOnly
getLastName
in interface IUserPropertiesReadOnly
null
if no last name is set.public void setLastName(String lastName)
IUserProperties
setLastName
in interface IUserProperties
lastName
- the last name.public Map<String,List<Object>> getCustomAttributes()
IUserProperties
getCustomAttributes
in interface IUserProperties
getCustomAttributes
in interface IUserPropertiesReadOnly
public String getFullName()
IUserPropertiesReadOnly
getFullName
in interface IUserPropertiesReadOnly
null
if no IUserPropertiesReadOnly.getFirstName()first name is set.public UserProperties clone()
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.