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.role.entity.HvlOAuthRoleAuthorityRel
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 HvlOAuthRoleAuthorityRel extends tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
An entity class which is used to relation between HvlOAuthRole and HvlOAuthAuthority
See Also:
  • Field Details

  • Constructor Details

    • HvlOAuthRoleAuthorityRel

      public HvlOAuthRoleAuthorityRel()
  • Method Details

    • getRole

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

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

      public HvlOAuthAuthority getAuthority()
      Gets authority.
      Returns:
      the authority
    • setAuthority

      public void setAuthority(HvlOAuthAuthority authority)
      Sets authority.
      Parameters:
      authority - the authority
    • getAuthorityId

      public Long getAuthorityId()
      Gets authority id.
      Returns:
      the authority id
    • setAuthorityId

      public void setAuthorityId(Long authorityId)
      Sets authority id.
      Parameters:
      authorityId - the authority 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>