tmp.setMusicLibrary(this.music_library.toMusicLibrarySummaryDTO());
return tmp;
}
public UserDTO toUserDTO() {
UserDTO tmp = new UserDTO();
tmp.setUser(this.user);
tmp.setNickName(this.nick_name);
tmp.setAboutMe(this.about_me);
tmp.setFirstName(this.first_name);
tmp.setGender(this.gender);
tmp.setLastName(this.last_name);
tmp.setNationality(this.nationality);
tmp.setPublicProfile(this.is_public_profile);
tmp.setAllowedUsers(this.allowed_users);
return tmp;
}