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.HvlOAuthBaseProfile
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>
Direct Known Subclasses:
HvlOAuthProfile, HvlOAuthProfilePersist

@MappedSuperclass public abstract class HvlOAuthBaseProfile extends tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
An entity class which defines profile fields.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The constant DESCRIPTION_FIELD_COLUMN.
    static final String
    The constant ENABLED_FIELD_COLUMN.
    static final String
    The constant INTEGRATION_CODE_FIELD_COLUMN.
    static final String
    The constant INTEGRATION_CODE_INDEX.
    static final String
    The constant INTEGRATION_CODE_UNIQUE_KEY.
    static final String
    The constant NAME_FIELD_COLUMN.
    static final String
    The constant NAME_UNIQUE_KEY.
    static final String
    The constant PROFILE_NAME_INDEX.
    static final String
    The constant TABLE_NAME.
    static final String
    The constant USER_ID_FIELD_COLUMN.
    static final String
    The constant USER_ID_INDEX.
    static final String
    The constant UUID_UNIQUE_KEY.
    static final String
    The constant VIRTUAL_FIELD_COLUMN.

    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 description.
    Gets integration code.
    Gets name.
    Gets user id.
    int
    boolean
    Is enabled.
    boolean
    Is virtual boolean.
    void
    setDescription(String description)
    Sets description.
    void
    setEnabled(boolean enabled)
    Sets enabled.
    void
    setIntegrationCode(String integrationCode)
    Sets integration code.
    void
    Sets name.
    void
    setUserId(Long userId)
    Sets user id.
    void
    setVirtual(boolean virtual)
    Sets virtual.

    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:
    • NAME_FIELD_COLUMN

      public static final String NAME_FIELD_COLUMN
      The constant NAME_FIELD_COLUMN.
      See Also:
    • DESCRIPTION_FIELD_COLUMN

      public static final String DESCRIPTION_FIELD_COLUMN
      The constant DESCRIPTION_FIELD_COLUMN.
      See Also:
    • ENABLED_FIELD_COLUMN

      public static final String ENABLED_FIELD_COLUMN
      The constant ENABLED_FIELD_COLUMN.
      See Also:
    • INTEGRATION_CODE_FIELD_COLUMN

      public static final String INTEGRATION_CODE_FIELD_COLUMN
      The constant INTEGRATION_CODE_FIELD_COLUMN.
      See Also:
    • USER_ID_FIELD_COLUMN

      public static final String USER_ID_FIELD_COLUMN
      The constant USER_ID_FIELD_COLUMN.
      See Also:
    • VIRTUAL_FIELD_COLUMN

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

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

      public static final String NAME_UNIQUE_KEY
      The constant NAME_UNIQUE_KEY.
      See Also:
    • INTEGRATION_CODE_UNIQUE_KEY

      public static final String INTEGRATION_CODE_UNIQUE_KEY
      The constant INTEGRATION_CODE_UNIQUE_KEY.
      See Also:
    • USER_ID_INDEX

      public static final String USER_ID_INDEX
      The constant USER_ID_INDEX.
      See Also:
    • PROFILE_NAME_INDEX

      public static final String PROFILE_NAME_INDEX
      The constant PROFILE_NAME_INDEX.
      See Also:
    • INTEGRATION_CODE_INDEX

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

    • HvlOAuthBaseProfile

      public HvlOAuthBaseProfile()
  • Method Details

    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets description.
      Parameters:
      description - the description
    • isEnabled

      public boolean isEnabled()
      Is enabled.
      Returns:
      the boolean
    • setEnabled

      public void setEnabled(boolean enabled)
      Sets enabled.
      Parameters:
      enabled - the enabled
    • getIntegrationCode

      public String getIntegrationCode()
      Gets integration code.
      Returns:
      the integration code
    • setIntegrationCode

      public void setIntegrationCode(String integrationCode)
      Sets integration code.
      Parameters:
      integrationCode - the integration code
    • getUserId

      public Long getUserId()
      Gets user id.
      Returns:
      the user uuid
    • setUserId

      public void setUserId(Long userId)
      Sets user id.
      Parameters:
      userId - the user id
    • isVirtual

      public boolean isVirtual()
      Is virtual boolean.
      Returns:
      the boolean
    • setVirtual

      public void setVirtual(boolean virtual)
      Sets virtual.
      Parameters:
      virtual - the virtual
    • 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>