Class HvlOAuthUserChangePasswordWithVerificationModel
java.lang.Object
tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
tr.com.havelsan.javarch.dto.model.HvlModel
tr.com.havelsan.javarch.oauth.jpa.data.common.module.user.model.HvlOAuthAbstractChangePasswordModel
tr.com.havelsan.javarch.oauth.jpa.data.common.module.user.model.HvlOAuthUserChangePasswordWithVerificationModel
- All Implemented Interfaces:
Serializable
,Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>
,tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>
public class HvlOAuthUserChangePasswordWithVerificationModel
extends HvlOAuthAbstractChangePasswordModel
A data transfer object is used for change user password
- See Also:
-
Constructor Summary
ConstructorDescriptionInstantiates a new HvlOAuthUserChangePasswordModel.HvlOAuthUserChangePasswordWithVerificationModel
(@Size(max=100) @NotNull String email, @Size(max=100) @NotNull String newPassword) Instantiates a new HvlOAuthUserChangePasswordModel. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Gets code.getEmail()
Gets email.Gets new password.int
hashCode()
void
Sets code.void
Sets email.void
setNewPassword
(String newPassword) Sets new password.Methods inherited from class tr.com.havelsan.javarch.oauth.jpa.data.common.module.user.model.HvlOAuthAbstractChangePasswordModel
isLdapUpdateEnable, setLdapUpdateEnable
Methods inherited from class tr.com.havelsan.javarch.dto.model.HvlModel
getId, setId
Methods inherited from class tr.com.havelsan.javarch.dto.model.HvlSimpleModel
compareTo, getCreatedBy, getDateCreated, getDateUpdated, getDeleted, getDeletedDate, getUpdatedBy, getUuid, getVersion, setCreatedBy, setDateCreated, setDateUpdated, setDeleted, setDeletedDate, setUpdatedBy, setUuid, setVersion
-
Constructor Details
-
HvlOAuthUserChangePasswordWithVerificationModel
public HvlOAuthUserChangePasswordWithVerificationModel()Instantiates a new HvlOAuthUserChangePasswordModel. -
HvlOAuthUserChangePasswordWithVerificationModel
public HvlOAuthUserChangePasswordWithVerificationModel(@Size(max=100) @NotNull @Size(max=100) @NotNull String email, @Size(max=100) @NotNull @Size(max=100) @NotNull String newPassword) Instantiates a new HvlOAuthUserChangePasswordModel.- Parameters:
email
- the emailnewPassword
- the new password
-
-
Method Details
-
getEmail
Gets email.- Returns:
- the email
-
setEmail
Sets email.- Parameters:
email
- the email
-
getNewPassword
Gets new password.- Returns:
- the new password
-
setNewPassword
Sets new password.- Parameters:
newPassword
- the new password
-
getCode
Gets code.- Returns:
- the code
-
setCode
Sets code.- Parameters:
code
- the code
-
equals
- Overrides:
equals
in classtr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classtr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
-