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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The constant CODE_FIELD_COLUMN.
    static final String
    The constant CODE_INDEX.
    static final String
    The constant CODE_UNIQUE_KEY.
    static final String
    The constant CRITICAL_FIELD_COLUMN.
    static final String
    The constant DESCRIPTION_FIELD_COLUMN.
    static final String
    The constant EDITABLE_FIELD_COLUMN.
    static final String
    The constant LABEL_FIELD_COLUMN.
    static final String
    The constant LABEL_INDEX.
    static final String
    The constant PARENT_ID_FIELD_COLUMN.
    static final String
    The constant PARENT_ID_FOREIGN_KEY.
    static final String
    The constant PARENT_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
    equals(Object that)
    Gets code.
    Gets critical.
    Gets description.
    Gets label.
    Gets parent.
    Gets parent id.
    int
    void
    Sets code.
    void
    setCritical(Boolean critical)
    Sets critical.
    void
    setDescription(String description)
    Sets description.
    void
    Sets label.
    void
    Sets parent.
    void
    setParentId(Long parentId)
    Sets parent 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

  • Constructor Details

    • HvlOAuthAuthority

      public HvlOAuthAuthority()
  • Method Details

    • getCode

      public String getCode()
      Gets code.
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Sets code.
      Parameters:
      code - the code
    • getLabel

      public String getLabel()
      Gets label.
      Returns:
      the label
    • setLabel

      public void setLabel(String label)
      Sets label.
      Parameters:
      label - the label
    • getDescription

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

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

      public Long getParentId()
      Gets parent id.
      Returns:
      the parent id
    • setParentId

      public void setParentId(Long parentId)
      Sets parent id.
      Parameters:
      parentId - the parent id
    • getCritical

      public Boolean getCritical()
      Gets critical.
      Returns:
      the critical
    • setCritical

      public void setCritical(Boolean critical)
      Sets critical.
      Parameters:
      critical - the critical
    • getParent

      public HvlOAuthAuthority getParent()
      Gets parent.
      Returns:
      the parent
    • setParent

      public void setParent(HvlOAuthAuthority parent)
      Sets parent.
      Parameters:
      parent - the parent
    • equals

      public boolean equals(Object that)
      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>