Class HvlOAuthUserOldPassword
java.lang.Object
tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>
tr.com.havelsan.javarch.domain.model.entity.HvlEntity
tr.com.havelsan.javarch.domain.model.entity.HvlHardDeleteEntity
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.user.entity.HvlOAuthUserOldPassword
- All Implemented Interfaces:
Serializable
,Comparable<tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity>
,tr.com.havelsan.javarch.data.commons.structure.HvlEntityStructure<Long>
@Entity
public class HvlOAuthUserOldPassword
extends tr.com.havelsan.javarch.domain.model.entity.HvlHardDeleteEntity
An entity store the user's old password data to be compared with new password.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The constant PASSWORD_FIELD_COLUMN.static final String
The constant TABLE_NAME.static final String
The constant USER_ID_FIELD_COLUMN.protected static final String
The constant USER_ID_INDEX.Fields inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity
CREATED_BY_FIELD, CREATED_BY_FIELD_COLUMN, CREATED_DATE_FIELD, CREATED_DATE_FIELD_COLUMN, ID_FIELD, ID_FIELD_COLUMN, UPDATED_BY_FIELD, UPDATED_BY_FIELD_COLUMN, UPDATED_DATE_FIELD, UPDATED_DATE_FIELD_COLUMN, UUID_FIELD, UUID_FIELD_COLUMN, VERSION_FIELD, VERSION_FIELD_COLUMN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets password.Gets user id.void
setPassword
(String password) Sets password.void
Sets user id.Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlEntity
getId, setId
Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity
compareTo, equals, getCreatedBy, getDateCreated, getDateUpdated, getUpdatedBy, getUuid, getVersion, hashCode, setCreatedBy, setDateCreated, setDateUpdated, setUpdatedBy, setUuid, setVersion
-
Field Details
-
TABLE_NAME
The constant TABLE_NAME.- See Also:
-
USER_ID_FIELD_COLUMN
The constant USER_ID_FIELD_COLUMN.- See Also:
-
PASSWORD_FIELD_COLUMN
The constant PASSWORD_FIELD_COLUMN.- See Also:
-
USER_ID_INDEX
The constant USER_ID_INDEX.- See Also:
-
-
Constructor Details
-
HvlOAuthUserOldPassword
public HvlOAuthUserOldPassword()
-
-
Method Details
-
getUserId
Gets user id.- Returns:
- the user id
-
setUserId
Sets user id.- Parameters:
userId
- the user id
-
getPassword
Gets password.- Returns:
- the password
-
setPassword
Sets password.- Parameters:
password
- the password
-