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.HvlHardDeleteEntity
tr.com.havelsan.javarch.log.producer.jpa.data.provider.entity.HvlLogProducerBaseTask
All Implemented Interfaces:
Serializable, Comparable<tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity>, tr.com.havelsan.javarch.data.commons.structure.HvlEntityStructure<Long>
Direct Known Subclasses:
HvlLogProducerTask, HvlLogProducerTaskHistory

@MappedSuperclass public abstract class HvlLogProducerBaseTask extends tr.com.havelsan.javarch.domain.model.entity.HvlHardDeleteEntity
An entity class which defines log processor task.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The constant DETAIL_FIELD_COLUMN.
    static final String
    The constant EVENT_LOG_MODEL_FIELD_COLUMN.
    static final String
    The constant RETRY_COUNT_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
    Modifier
    Constructor
    Description
    protected
    Instantiates a new HvlLogProducerBaseTask.
    protected
    HvlLogProducerBaseTask(@NotNull HvlEventLogModel eventLogModel)
    Instantiates a new HvlLogProducerBaseTask.
    protected
    HvlLogProducerBaseTask(@Size(max=4000) String detail, @NotNull HvlEventLogModel eventLogModel)
    Instantiates a new HvlLogProducerBaseTask.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets detail.
    Gets event log model.
    int
    Gets retry count.
    int
    void
    setDetail(String detail)
    Sets detail.
    void
    Sets event log model.
    void
    setRetryCount(int retryCount)
    Sets retry count.

    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

    • RETRY_COUNT_FIELD_COLUMN

      public static final String RETRY_COUNT_FIELD_COLUMN
      The constant RETRY_COUNT_FIELD_COLUMN.
      See Also:
    • DETAIL_FIELD_COLUMN

      public static final String DETAIL_FIELD_COLUMN
      The constant DETAIL_FIELD_COLUMN.
      See Also:
    • EVENT_LOG_MODEL_FIELD_COLUMN

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

    • HvlLogProducerBaseTask

      protected HvlLogProducerBaseTask()
      Instantiates a new HvlLogProducerBaseTask.
    • HvlLogProducerBaseTask

      protected HvlLogProducerBaseTask(@NotNull @NotNull HvlEventLogModel eventLogModel)
      Instantiates a new HvlLogProducerBaseTask.
      Parameters:
      eventLogModel - the event log model
    • HvlLogProducerBaseTask

      protected HvlLogProducerBaseTask(@Size(max=4000) @Size(max=4000) String detail, @NotNull @NotNull HvlEventLogModel eventLogModel)
      Instantiates a new HvlLogProducerBaseTask.
      Parameters:
      detail - the detail
      eventLogModel - the event log model
  • Method Details

    • getRetryCount

      public int getRetryCount()
      Gets retry count.
      Returns:
      the retry count
    • setRetryCount

      public void setRetryCount(int retryCount)
      Sets retry count.
      Parameters:
      retryCount - the retry count
    • getDetail

      public String getDetail()
      Gets detail.
      Returns:
      the detail
    • setDetail

      public void setDetail(String detail)
      Sets detail.
      Parameters:
      detail - the detail
    • getEventLogModel

      public HvlEventLogModel getEventLogModel()
      Gets event log model.
      Returns:
      the event log model
    • setEventLogModel

      public void setEventLogModel(HvlEventLogModel eventLogModel)
      Sets event log model.
      Parameters:
      eventLogModel - the event log model
    • 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>