public class UserDto extends Object
Modifier and Type | Field and Description |
---|---|
protected UserCredentialsDto |
credentials |
protected UserProfileDto |
profile |
Constructor and Description |
---|
UserDto() |
Modifier and Type | Method and Description |
---|---|
static UserDto |
fromUser(User user,
boolean isIncludeCredentials) |
UserCredentialsDto |
getCredentials() |
UserProfileDto |
getProfile() |
void |
setCredentials(UserCredentialsDto credentials) |
void |
setProfile(UserProfileDto profile) |
protected UserProfileDto profile
protected UserCredentialsDto credentials
public UserProfileDto getProfile()
public void setProfile(UserProfileDto profile)
public UserCredentialsDto getCredentials()
public void setCredentials(UserCredentialsDto credentials)
Copyright © 2019. All rights reserved.