public class UserData extends IdentifiableEntityData implements UserName
Constructor and Description |
---|
UserData()
Empty constructor.
|
UserData(Long id,
String email,
String alias,
String firstName,
String lastName,
String salutation,
UserStatus status)
Construtor for the userListItem
|
UserData(UserData otherBean)
Copies constructor from other UserData
|
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Get the alias of user
|
String |
getEmail()
Get the email of user
|
String |
getFirstName()
Get the firstname of user
|
String |
getLastName()
Get the lastname of user
|
String |
getSalutation()
Get the salutation of user
|
UserStatus |
getStatus()
Get the status of user
|
Collection<TagData> |
getTags() |
Long |
getUserId()
Deprecated.
|
void |
setAlias(String alias)
Set the alias of user
|
void |
setEmail(String email)
Set the email of user
|
void |
setFirstName(String firstName)
Set the firstname of user
|
void |
setLastName(String lastName)
Set the lastname of user
|
void |
setSalutation(String salutation)
Set the salutation of user
|
void |
setStatus(UserStatus status)
Set the status of user
|
void |
setTags(Collection<TagData> tags) |
void |
setUserId(Long userId)
Deprecated.
|
copy, equals, getId, getProperties, getProperty, hashCode, setId, setProperty
public UserData()
public UserData(Long id, String email, String alias, String firstName, String lastName, String salutation, UserStatus status)
id
- identifieremail
- mail of useralias
- of userfirstName
- of userlastName
- of usersalutation
- of userstatus
- of userpublic UserData(UserData otherBean)
otherBean
- , cannot be null
NullPointerException
- if the argument is null
public String getAlias()
public String getEmail()
public String getFirstName()
getFirstName
in interface UserName
public String getLastName()
getLastName
in interface UserName
public String getSalutation()
getSalutation
in interface UserName
public UserStatus getStatus()
UserStatus
public Collection<TagData> getTags()
@Deprecated public Long getUserId()
IdentifiableEntityData.getId()
public void setAlias(String alias)
alias
- of userpublic void setEmail(String email)
email
- of userpublic void setFirstName(String firstName)
firstName
- of userpublic void setLastName(String lastName)
lastName
- of userpublic void setSalutation(String salutation)
salutation
- of userpublic void setStatus(UserStatus status)
status
- UserStatus
public void setTags(Collection<TagData> tags)
tags
- the tags to set@Deprecated public void setUserId(Long userId)
IdentifiableEntityData.setId(Long)
userId
- the ID of the userCopyright © 2019 Communote team. All rights reserved.