Class HvlOAuthProfileGroupRoleGroupRel

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.profile.entity.HvlOAuthProfileGroupRoleGroupRel
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 HvlOAuthProfileGroupRoleGroupRel extends tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
An entity class which is used as a wrapper for many to many relation between HvlOAuthProfileGroup and HvlOAuthRoleGroup
See Also:
  • Field Details

    • TABLE_NAME

      protected static final String TABLE_NAME
      The constant TABLE_NAME.
      See Also:
    • ROLE_GROUP_ID_FIELD_COLUMN

      public static final String ROLE_GROUP_ID_FIELD_COLUMN
      The constant ROLE_GROUP_ID_FIELD_COLUMN.
      See Also:
    • PROFILE_GROUP_ID_FIELD_COLUMN

      public static final String PROFILE_GROUP_ID_FIELD_COLUMN
      The constant PROFILE_GROUP_ID_FIELD_COLUMN.
      See Also:
    • PROFILE_GROUP_ID_FOREIGN_KEY

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

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

      public static final String PROFILE_GROUP_ROLE_GROUP_REL_UNIQUE_KEY
      The constant PROFILE_GROUP_ROLE_GROUP_REL_UNIQUE_KEY.
      See Also:
    • ROLE_GROUP_ID_FOREIGN_KEY

      public static final String ROLE_GROUP_ID_FOREIGN_KEY
      The constant ROLE_GROUP_ID_FOREIGN_KEY.
      See Also:
    • PROFILE_GROUP_ID_INDEX

      protected static final String PROFILE_GROUP_ID_INDEX
      The constant PROFILE_GROUP_ID_INDEX.
      See Also:
    • ROLE_GROUP_ID_INDEX

      protected static final String ROLE_GROUP_ID_INDEX
      The constant ROLE_GROUP_ID_INDEX.
      See Also:
    • PROFILE_GROUP_FIELD

      protected static final String PROFILE_GROUP_FIELD
      See Also:
  • Constructor Details

    • HvlOAuthProfileGroupRoleGroupRel

      public HvlOAuthProfileGroupRoleGroupRel()
  • Method Details

    • getProfileGroup

      public HvlOAuthProfileGroup getProfileGroup()
      Gets profile group.
      Returns:
      the profile group
    • setProfileGroup

      public void setProfileGroup(HvlOAuthProfileGroup profileGroup)
      Sets profile group.
      Parameters:
      profileGroup - the profile group
    • getRoleGroup

      public HvlOAuthRoleGroup getRoleGroup()
      Gets role group.
      Returns:
      the role group
    • setRoleGroup

      public void setRoleGroup(HvlOAuthRoleGroup roleGroup)
      Sets role group.
      Parameters:
      roleGroup - the role group
    • getRoleGroupId

      public Long getRoleGroupId()
      Gets role group id.
      Returns:
      the role group id
    • setRoleGroupId

      public void setRoleGroupId(Long roleGroupId)
      Sets role group id.
      Parameters:
      roleGroupId - the role group id
    • getProfileGroupId

      public Long getProfileGroupId()
      Gets profile group id.
      Returns:
      the profile group id
    • setProfileGroupId

      public void setProfileGroupId(Long profileGroupId)
      Sets profile group id.
      Parameters:
      profileGroupId - the profile group 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>