Class UserEditDTO
- java.lang.Object
-
- idatt2106.group3.backend.Model.DTO.User.UserSuperclassDTO
-
- idatt2106.group3.backend.Model.DTO.User.UserEditDTO
-
public class UserEditDTO extends UserSuperclassDTO
DTO class for sending information between backend and frontend when editing user information
-
-
Constructor Summary
Constructors Constructor Description UserEditDTO()
UserEditDTO(java.lang.String forename, java.lang.String surname, java.lang.String email, java.time.LocalDate dateOfBirth, Difficulty trainingLevel, java.lang.String newPassword, java.lang.String oldPassword, java.lang.String profilePicture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getNewPassword()
java.lang.String
getOldPassword()
java.lang.String
getProfilePicture()
void
setNewPassword(java.lang.String newPassword)
void
setOldPassword(java.lang.String oldPassword)
void
setProfilePicture(java.lang.String profilePicture)
java.lang.String
toString()
-
Methods inherited from class idatt2106.group3.backend.Model.DTO.User.UserSuperclassDTO
getDateOfBirth, getEmail, getForename, getSurname, getTrainingLevel, setDateOfBirth, setEmail, setForename, setSurname, setTrainingLevel
-
-
-
-
Constructor Detail
-
UserEditDTO
public UserEditDTO(java.lang.String forename, java.lang.String surname, java.lang.String email, java.time.LocalDate dateOfBirth, Difficulty trainingLevel, java.lang.String newPassword, java.lang.String oldPassword, java.lang.String profilePicture)
-
UserEditDTO
public UserEditDTO()
-
-
Method Detail
-
getProfilePicture
public java.lang.String getProfilePicture()
-
setProfilePicture
public void setProfilePicture(java.lang.String profilePicture)
-
getNewPassword
public java.lang.String getNewPassword()
-
setNewPassword
public void setNewPassword(java.lang.String newPassword)
-
getOldPassword
public java.lang.String getOldPassword()
-
setOldPassword
public void setOldPassword(java.lang.String oldPassword)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classUserSuperclassDTO
-
-