Class HvlOAuthProxyDataModel
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.proxy.model.projection.HvlOAuthProxyDataModel
- All Implemented Interfaces:
Serializable
,Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>
,tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>
public class HvlOAuthProxyDataModel
extends tr.com.havelsan.javarch.dto.model.HvlModel
A filtered data transfer object is used for proxy operations
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The constant ROLE_NAME_FIELDstatic final String
The constant SOURCE_PROFILE_ID_FIELDstatic final String
The constant SOURCE_PROFILE_USER_USERNAME_FIELDstatic final String
The constant SOURCE_NAME_FIELDstatic final String
The constant SOURCE_SURNAME_FIELDstatic final String
The constant TARGET_USER_ID_FIELDstatic final String
The constant TARGET_USER_NAME_FIELDstatic final String
The constant TARGET_USER_SURNAME_FIELDstatic final String
The constant TARGET_USER_USERNAME_FIELDstatic final String
The constant TRUSTED_PROXY_ID_FIELD -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets description.Gets end date.Gets integration code.getName()
Gets name.Gets role name.Gets source profile id.Gets source profile user username.Gets source user name.Gets source user surname.Gets start date.Gets target user id.Gets target user name.Gets target user surname.Gets target user username.Gets trusted proxy id.int
hashCode()
void
setDescription
(String description) Sets description.void
setEndDate
(OffsetDateTime endDate) Sets end date.void
setIntegrationCode
(String integrationCode) Sets integration code.void
Sets name.void
setRoleName
(String roleName) Sets role name.void
setSourceProfileId
(Long sourceProfileId) Sets source profile id.void
setSourceProfileUserUsername
(String sourceProfileUserUsername) Sets source profile user username.void
setSourceUserName
(String sourceUserName) Sets source user name.void
setSourceUserSurname
(String sourceUserSurname) Sets source user surname.void
setStartDate
(OffsetDateTime startDate) Sets start date.void
setTargetUserId
(Long targetUserId) Sets target user id.void
setTargetUserName
(String targetUserName) Sets target user name.void
setTargetUserSurname
(String targetUserSurname) Sets target user surname.void
setTargetUserUsername
(String targetUserUsername) Sets target user username.void
setTrustedProxyId
(Long trustedProxyId) Sets trusted proxy id.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
-
Field Details
-
SOURCE_PROFILE_ID_FIELD
The constant SOURCE_PROFILE_ID_FIELD- See Also:
-
SOURCE_PROFILE_USER_USERNAME_FIELD
The constant SOURCE_PROFILE_USER_USERNAME_FIELD- See Also:
-
SOURCE_USER_NAME_FIELD
The constant SOURCE_NAME_FIELD- See Also:
-
SOURCE_USER_SURNAME_FIELD
The constant SOURCE_SURNAME_FIELD- See Also:
-
TARGET_USER_ID_FIELD
The constant TARGET_USER_ID_FIELD- See Also:
-
TARGET_USER_USERNAME_FIELD
The constant TARGET_USER_USERNAME_FIELD- See Also:
-
TARGET_USER_NAME_FIELD
The constant TARGET_USER_NAME_FIELD- See Also:
-
TARGET_USER_SURNAME_FIELD
The constant TARGET_USER_SURNAME_FIELD- See Also:
-
ROLE_NAME
The constant ROLE_NAME_FIELD- See Also:
-
TRUSTED_PROXY_ID_FIELD
The constant TRUSTED_PROXY_ID_FIELD- See Also:
-
-
Constructor Details
-
HvlOAuthProxyDataModel
public HvlOAuthProxyDataModel()
-
-
Method Details
-
getSourceProfileId
Gets source profile id.- Returns:
- the source profile id
-
setSourceProfileId
Sets source profile id.- Parameters:
sourceProfileId
- the source profile id
-
getSourceProfileUserUsername
Gets source profile user username.- Returns:
- the source profile user username
-
setSourceProfileUserUsername
Sets source profile user username.- Parameters:
sourceProfileUserUsername
- the source profile user username
-
getSourceUserName
Gets source user name.- Returns:
- the source user name
-
setSourceUserName
Sets source user name.- Parameters:
sourceUserName
- the source user name
-
getSourceUserSurname
Gets source user surname.- Returns:
- the source user surname
-
setSourceUserSurname
Sets source user surname.- Parameters:
sourceUserSurname
- the source user surname
-
getTargetUserId
Gets target user id.- Returns:
- the target user id
-
setTargetUserId
Sets target user id.- Parameters:
targetUserId
- the target user id
-
getTargetUserUsername
Gets target user username.- Returns:
- the target user username
-
setTargetUserUsername
Sets target user username.- Parameters:
targetUserUsername
- the target user username
-
getTargetUserName
Gets target user name.- Returns:
- the target user name
-
setTargetUserName
Sets target user name.- Parameters:
targetUserName
- the target user name
-
getTargetUserSurname
Gets target user surname.- Returns:
- the target user surname
-
setTargetUserSurname
Sets target user surname.- Parameters:
targetUserSurname
- the target user surname
-
getStartDate
Gets start date.- Returns:
- the start date
-
setStartDate
Sets start date.- Parameters:
startDate
- the start date
-
getEndDate
Gets end date.- Returns:
- the end date
-
setEndDate
Sets end date.- Parameters:
endDate
- the end date
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description
- the description
-
getIntegrationCode
Gets integration code.- Returns:
- the integration code
-
setIntegrationCode
Sets integration code.- Parameters:
integrationCode
- the integration code
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name
- the name
-
getRoleName
Gets role name.- Returns:
- the role name
-
setRoleName
Sets role name.- Parameters:
roleName
- the role name
-
getTrustedProxyId
Gets trusted proxy id.- Returns:
- the trusted proxy id
-
setTrustedProxyId
Sets trusted proxy id.- Parameters:
trustedProxyId
- the trusted proxy id
-
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>
-