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.role.model.relation.HvlOAuthRoleAuthorityRelModel
All Implemented Interfaces:
Serializable, Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>, tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>

public class HvlOAuthRoleAuthorityRelModel extends tr.com.havelsan.javarch.dto.model.HvlModel
A data transfer object is used for role authority relation operations
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets authority id.
    Gets role id.
    int
    void
    setAuthorityId(Long authorityId)
    Sets authority id.
    void
    setRoleId(Long roleId)
    Sets role 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HvlOAuthRoleAuthorityRelModel

      public HvlOAuthRoleAuthorityRelModel()
  • Method Details

    • 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
    • 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.dto.model.HvlSimpleModel<Long>
    • hashCode

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