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.HvlOAuthProxyModel
All Implemented Interfaces:
Serializable, Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>, tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>
Direct Known Subclasses:
HvlOAuthProxyPersistModel

@Validated public class HvlOAuthProxyModel extends tr.com.havelsan.javarch.dto.model.HvlModel
A data transfer object is used for proxy operations
See Also:
  • Field Details

    • SOURCE_PROFILE_ID_FIELD_NAME

      public static final String SOURCE_PROFILE_ID_FIELD_NAME
      The constant SOURCE_PROFILE_ID_FIELD_NAME.
      See Also:
    • TARGET_USER_ID_FIELD_NAME

      public static final String TARGET_USER_ID_FIELD_NAME
      The constant TARGET_USER_ID_FIELD_NAME.
      See Also:
    • TRUSTED_PROXY_ID_FIELD_NAME

      public static final String TRUSTED_PROXY_ID_FIELD_NAME
      The constant TRUSTED_PROXY_ID_FIELD_NAME.
      See Also:
    • START_DATE_FIELD_NAME

      public static final String START_DATE_FIELD_NAME
      The constant START_DATE_FIELD_NAME.
      See Also:
    • END_DATE_FIELD_NAME

      public static final String END_DATE_FIELD_NAME
      The constant END_DATE_FIELD_NAME.
      See Also:
    • ROLE_ID_SET_FIELD_NAME

      public static final String ROLE_ID_SET_FIELD_NAME
      The constant ROLE_ID_SET_FIELD_NAME.
      See Also:
    • CRITICAL_AUTHORITY_ID_SET_FIELD_NAME

      public static final String CRITICAL_AUTHORITY_ID_SET_FIELD_NAME
      The constant CRITICAL_AUTHORITY_ID_SET_FIELD_NAME.
      See Also:
    • PROFILE_GROUP_NAME_SET_FIELD_NAME

      public static final String PROFILE_GROUP_NAME_SET_FIELD_NAME
      The constant PROFILE_GROUP_NAME_SET_FIELD_NAME.
      See Also:
  • Constructor Details

    • HvlOAuthProxyModel

      public HvlOAuthProxyModel()
  • Method Details

    • getSourceProfileId

      public Long getSourceProfileId()
      Gets source profile id
      Returns:
      the source profile id
    • setSourceProfileId

      public void setSourceProfileId(Long sourceProfileId)
      Sets source profile id
      Parameters:
      sourceProfileId - the source profile id
    • getTargetUserId

      public Long getTargetUserId()
      Gets target user id
      Returns:
      the target user id
    • setTargetUserId

      public void setTargetUserId(Long targetUserId)
      Sets target user id.
      Parameters:
      targetUserId - the target user id
    • getTrustedProxyId

      public Long getTrustedProxyId()
      Gets trusted proxy id.
      Returns:
      the trusted proxy id
    • setTrustedProxyId

      public void setTrustedProxyId(Long trustedProxyId)
      Sets trusted proxy id.
      Parameters:
      trustedProxyId - the trusted proxy id
    • getStartDate

      public OffsetDateTime getStartDate()
      Gets start date.
      Returns:
      the start date
    • setStartDate

      public void setStartDate(OffsetDateTime startDate)
      Sets start date.
      Parameters:
      startDate - the start date
    • getEndDate

      public OffsetDateTime getEndDate()
      Gets end date.
      Returns:
      the end date
    • setEndDate

      public void setEndDate(OffsetDateTime endDate)
      Sets end date.
      Parameters:
      endDate - the end date
    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets description.
      Parameters:
      description - the description
    • getIntegrationCode

      public String getIntegrationCode()
      Gets integration code.
      Returns:
      the integration code
    • setIntegrationCode

      public void setIntegrationCode(String integrationCode)
      Sets integration code.
      Parameters:
      integrationCode - the integration code
    • getSourceProfileUserUsername

      public String getSourceProfileUserUsername()
      Gets source profile user username.
      Returns:
      the source profile user username that is transient field to demonstrate source profile user info.
    • setSourceProfileUserUsername

      public void setSourceProfileUserUsername(String sourceProfileUserUsername)
      Sets source profile user username.
      Parameters:
      sourceProfileUserUsername - the source profile user username
    • getTargetUserUsername

      public String getTargetUserUsername()
      Gets target user username.
      Returns:
      the target user username that is transient field to demonstrate target user info.
    • setTargetUserUsername

      public void setTargetUserUsername(String targetUserUsername)
      Sets target user username.
      Parameters:
      targetUserUsername - the target user username
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>