Class HvlOAuthRoleAssignerProfileGroupRel

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.HvlOAuthRoleAssignerProfileGroupRel
All Implemented Interfaces:
Serializable, Comparable<tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>>, org.hibernate.engine.spi.Managed, org.hibernate.engine.spi.ManagedMappedSuperclass, org.hibernate.engine.spi.PrimeAmongSecondarySupertypes, tr.com.havelsan.javarch.data.commons.structure.HvlEntityStructure<Long>

@Entity public class HvlOAuthRoleAssignerProfileGroupRel extends tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
An entity class which is used to relation between HvlOAuthRole and HvlOAuthProfileGroup for Role Assigner
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The constant PROFILE_GROUP_FIELD.
    static final String
    The constant PROFILE_GROUP_ID_FIELD_COLUMN.
    static final String
    The constant PROFILE_GROUP_ID_FOREIGN_KEY.
    static final String
    The constant PROFILE_GROUP_ID_INDEX.
    static final String
    The constant ROLE_ASSIGNER_PROFILE_GROUP_REL_UNIQUE_KEY.
    static final String
    The constant ROLE_FIELD.
    static final String
    The constant ROLE_ID_FIELD_COLUMN.
    static final String
    The constant ROLE_ID_FOREIGN_KEY.
    static final String
    The constant ROLE_ID_INDEX.
    static final String
    The constant TABLE_NAME.
    static final String
    The constant UUID_UNIQUE_KEY.

    Fields inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity

    DELETED_DATE_FIELD, DELETED_DATE_FIELD_COLUMN, DELETED_FIELD, DELETED_FIELD_COLUMN

    Fields inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity

    CREATED_BY_FIELD, CREATED_BY_FIELD_COLUMN, CREATED_DATE_FIELD, CREATED_DATE_FIELD_COLUMN, ID_FIELD, ID_FIELD_COLUMN, UPDATED_BY_FIELD, UPDATED_BY_FIELD_COLUMN, UPDATED_DATE_FIELD, UPDATED_DATE_FIELD_COLUMN, UUID_FIELD, UUID_FIELD_COLUMN, VERSION_FIELD, VERSION_FIELD_COLUMN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets profile group.
    Gets profile group id.
    Gets role.
    Gets role id.
    int
    void
    Sets profile group.
    void
    setProfileGroupId(Long profileGroupId)
    Sets profile group id.
    void
    Sets role.
    void
    setRoleId(Long roleId)
    Sets role id.

    Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity

    $$_hibernate_read_deleted, $$_hibernate_read_deletedDate, $$_hibernate_write_deleted, $$_hibernate_write_deletedDate, getDeleted, getDeletedDate, setDeleted, setDeletedDate

    Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlEntity

    $$_hibernate_read_id, $$_hibernate_write_id, getId, setId

    Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity

    $$_hibernate_read_createdBy, $$_hibernate_read_dateCreated, $$_hibernate_read_dateUpdated, $$_hibernate_read_updatedBy, $$_hibernate_read_uuid, $$_hibernate_read_version, $$_hibernate_write_createdBy, $$_hibernate_write_dateCreated, $$_hibernate_write_dateUpdated, $$_hibernate_write_updatedBy, $$_hibernate_write_uuid, $$_hibernate_write_version, compareTo, getCreatedBy, getDateCreated, getDateUpdated, getUpdatedBy, getUuid, getVersion, setCreatedBy, setDateCreated, setDateUpdated, setUpdatedBy, setUuid, setVersion

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.engine.spi.Managed

    asManaged

    Methods inherited from interface org.hibernate.engine.spi.ManagedMappedSuperclass

    asManagedMappedSuperclass

    Methods inherited from interface org.hibernate.engine.spi.PrimeAmongSecondarySupertypes

    asCompositeOwner, asCompositeTracker, asHibernateProxy, asManagedComposite, asManagedEntity, asPersistentAttributeInterceptable, asProxyConfiguration, asSelfDirtinessTracker
  • Field Details

    • TABLE_NAME

      public static final String TABLE_NAME
      The constant TABLE_NAME.
      See Also:
    • ROLE_ID_FIELD_COLUMN

      public static final String ROLE_ID_FIELD_COLUMN
      The constant ROLE_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:
    • ROLE_ID_FOREIGN_KEY

      public static final String ROLE_ID_FOREIGN_KEY
      The constant ROLE_ID_FOREIGN_KEY.
      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:
    • ROLE_ASSIGNER_PROFILE_GROUP_REL_UNIQUE_KEY

      public static final String ROLE_ASSIGNER_PROFILE_GROUP_REL_UNIQUE_KEY
      The constant ROLE_ASSIGNER_PROFILE_GROUP_REL_UNIQUE_KEY.
      See Also:
    • ROLE_ID_INDEX

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

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

      public static final String ROLE_FIELD
      The constant ROLE_FIELD.
      See Also:
    • PROFILE_GROUP_FIELD

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

    • HvlOAuthRoleAssignerProfileGroupRel

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