Class HvlOAuthProfileGroupProfileRel

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.HvlOAuthProfileGroupProfileRel
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 HvlOAuthProfileGroupProfileRel 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 HvlOAuthProfile
See Also:
  • Field Details

    • TABLE_NAME

      protected static final String TABLE_NAME
      The constant TABLE_NAME.
      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_ID_FIELD_COLUMN

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

      protected static final String PROFILE_GROUP_ID_FOREIGN_KEY
      The constant PROFILE_GROUP_ID_FOREIGN_KEY.
      See Also:
    • PROFILE_ID_FOREIGN_KEY

      protected static final String PROFILE_ID_FOREIGN_KEY
      The constant PROFILE_ID_FOREIGN_KEY.
      See Also:
    • UUID_UNIQUE_KEY

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

      protected static final String PROFILE_PROFILE_GROUP_REL_UNIQUE_KEY
      The constant PROFILE_PROFILE_GROUP_REL_UNIQUE_KEY.
      See Also:
    • PROFILE_ID_INDEX

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

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

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

      protected static final String PROFILE_FIELD
      The constant PROFILE_FIELD.
      See Also:
  • Constructor Details

    • HvlOAuthProfileGroupProfileRel

      public HvlOAuthProfileGroupProfileRel()
  • 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
    • getProfile

      public HvlOAuthProfile getProfile()
      Gets profile.
      Returns:
      the profile
    • setProfile

      public void setProfile(HvlOAuthProfile profile)
      Sets profile.
      Parameters:
      profile - the profile
    • 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
    • getProfileId

      public Long getProfileId()
      Gets profile id.
      Returns:
      the profile id
    • setProfileId

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