Class HvlLogProducerBaseTask
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>
,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:
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
Modifier and TypeFieldDescriptionstatic 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
ModifierConstructorDescriptionprotected
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 TypeMethodDescriptionboolean
Gets detail.Gets event log model.int
Gets retry count.int
hashCode()
void
Sets detail.void
setEventLogModel
(HvlEventLogModel eventLogModel) Sets event log model.void
setRetryCount
(int retryCount) Sets retry count.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
-
RETRY_COUNT_FIELD_COLUMN
The constant RETRY_COUNT_FIELD_COLUMN.- See Also:
-
DETAIL_FIELD_COLUMN
The constant DETAIL_FIELD_COLUMN.- See Also:
-
EVENT_LOG_MODEL_FIELD_COLUMN
The constant EVENT_LOG_MODEL_FIELD_COLUMN.- See Also:
-
-
Constructor Details
-
HvlLogProducerBaseTask
protected HvlLogProducerBaseTask()Instantiates a new HvlLogProducerBaseTask. -
HvlLogProducerBaseTask
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 detaileventLogModel
- 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
Gets detail.- Returns:
- the detail
-
setDetail
Sets detail.- Parameters:
detail
- the detail
-
getEventLogModel
Gets event log model.- Returns:
- the event log model
-
setEventLogModel
Sets event log model.- Parameters:
eventLogModel
- the event log model
-
equals
- Overrides:
equals
in classtr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classtr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>
-