Class HvlOAuthTrustedProxyRoleRel

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.HvlSoftDeleteEntity
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.proxy.entity.HvlOAuthTrustedProxyRoleRel
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 HvlOAuthTrustedProxyRoleRel extends tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
An entity class which is used to relation between HvlOAuthRole and HvlOAuthTrustedProxy
See Also:
  • Field Details

    • TABLE_NAME

      public static final String TABLE_NAME
      The constant TABLE_NAME.
      See Also:
    • TRUSTED_PROXY_ID_FIELD_COLUMN

      public static final String TRUSTED_PROXY_ID_FIELD_COLUMN
      The constant TRUSTED_PROXY_ID_FIELD_COLUMN.
      See Also:
    • ROLE_ID_FIELD_COLUMN

      public static final String ROLE_ID_FIELD_COLUMN
      The constant ROLE_ID_FIELD_COLUMN.
      See Also:
    • TRUSTED_PROXY_ID_FOREIGN_KEY

      public static final String TRUSTED_PROXY_ID_FOREIGN_KEY
      The constant TRUSTED_PROXY_ID_FOREIGN_KEY.
      See Also:
    • ROLE_ID_FOREIGN_KEY

      public static final String ROLE_ID_FOREIGN_KEY
      The constant ROLE_ID_FOREIGN_KEY.
      See Also:
    • UUID_UNIQUE_KEY

      public static final String UUID_UNIQUE_KEY
      The constant UUID_UNIQUE_KEY.
      See Also:
    • TRUSTED_PROXY_ROLE_REL_UNIQUE_KEY

      public static final String TRUSTED_PROXY_ROLE_REL_UNIQUE_KEY
      The constant TRUSTED_PROXY_ROLE_REL_UNIQUE_KEY.
      See Also:
    • TRUSTED_PROXY_ID_INDEX

      public static final String TRUSTED_PROXY_ID_INDEX
      The constant TRUSTED_PROXY_ID_INDEX.
      See Also:
    • ROLE_ID_INDEX

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

    • HvlOAuthTrustedProxyRoleRel

      public HvlOAuthTrustedProxyRoleRel()
  • Method Details

    • getTrustedProxy

      public HvlOAuthTrustedProxy getTrustedProxy()
      Gets trusted proxy.
      Returns:
      the trusted proxy
    • setTrustedProxy

      public void setTrustedProxy(HvlOAuthTrustedProxy trustedProxy)
      Sets trusted proxy.
      Parameters:
      trustedProxy - the trusted proxy
    • getRole

      public HvlOAuthRole getRole()
      Gets role.
      Returns:
      the role
    • setRole

      public void setRole(HvlOAuthRole role)
      Sets role.
      Parameters:
      role - the role
    • 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
    • getRoleId

      public Long getRoleId()
      Gets role id.
      Returns:
      the role id
    • setRoleId

      public void setRoleId(Long roleId)
      Sets role id.
      Parameters:
      roleId - the role id
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>