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.support.audit.entity.HvlOAuthAudit
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 HvlOAuthAudit extends tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
An entity class which defines audit fields
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The constant AUDIT_GROUP_COLUMN.
    static final String
    The constant AUDIT_GROUP_INDEX.
    static final String
    The constant ENABLED_UNIQUE_KEY.
    static final String
    The constant ENABLED_COLUMN.
    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 audit group.
    int
    boolean
    Is enabled boolean.
    void
    Sets audit group.
    void
    setEnabled(boolean enabled)
    Sets enabled.

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

    getDeleted, getDeletedDate, setDeleted, setDeletedDate

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

    getId, setId

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

    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
  • Field Details

  • Constructor Details

    • HvlOAuthAudit

      public HvlOAuthAudit()
  • Method Details

    • getAuditGroup

      public HvlAuthzAuditGroup getAuditGroup()
      Gets audit group.
      Returns:
      the audit group
    • setAuditGroup

      public void setAuditGroup(HvlAuthzAuditGroup auditGroup)
      Sets audit group.
      Parameters:
      auditGroup - the audit group
    • isEnabled

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

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