Class HvlOAuthPredefinedRoleModel

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

public class HvlOAuthPredefinedRoleModel extends tr.com.havelsan.javarch.dto.model.HvlModel
A data transfer object is used for predefined role operations
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The constant USER_TYPE_ID_FIELD_NAME.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets role id.
    Gets user type id.
    int
    void
    setRoleId(Long roleId)
    Sets role id.
    void
    setUserTypeId(Long userTypeId)
    Sets user type 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
  • Field Details

    • USER_TYPE_ID_FIELD_NAME

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

    • HvlOAuthPredefinedRoleModel

      public HvlOAuthPredefinedRoleModel()
  • Method Details

    • getUserTypeId

      public Long getUserTypeId()
      Gets user type id.
      Returns:
      the user type id
    • setUserTypeId

      public void setUserTypeId(Long userTypeId)
      Sets user type id.
      Parameters:
      userTypeId - the user type 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.dto.model.HvlSimpleModel<Long>
    • hashCode

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