Class NotificationHistoryEntity
- java.lang.Object
-
- de.xima.fc.notification.ms.impl.dao.entities.NotificationHistoryEntity
-
@Entity public class NotificationHistoryEntity extends Object
-
-
Constructor Summary
Constructors Constructor Description NotificationHistoryEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContext()LonggetId()LonggetReferenceId()InstantgetSentTimestamp()Timestamp when the notification was sent or was attempted to be sent if notsuccessful.NotificationTargetEntitygetTarget()booleanisSentSuccess()Whether the notification was sent successfully.voidsetContext(String context)voidsetId(Long id)voidsetReferenceId(Long referenceId)voidsetSentSuccess(boolean sentSuccess)Whether the notification was sent successfully.voidsetSentTimestamp(Instant sentTimestamp)Timestamp when the notification was sent or was attempted to be sent if notsuccessful.voidsetTarget(NotificationTargetEntity target)
-
-
-
Method Detail
-
getId
public Long getId()
-
getTarget
public NotificationTargetEntity getTarget()
-
getReferenceId
public Long getReferenceId()
-
getSentTimestamp
public Instant getSentTimestamp()
Timestamp when the notification was sent or was attempted to be sent if notsuccessful.
-
isSentSuccess
public boolean isSentSuccess()
Whether the notification was sent successfully.
-
getContext
public String getContext()
-
setId
public void setId(Long id)
-
setTarget
public void setTarget(NotificationTargetEntity target)
-
setReferenceId
public void setReferenceId(Long referenceId)
-
setSentTimestamp
public void setSentTimestamp(Instant sentTimestamp)
Timestamp when the notification was sent or was attempted to be sent if notsuccessful.
-
setSentSuccess
public void setSentSuccess(boolean sentSuccess)
Whether the notification was sent successfully.
-
setContext
public void setContext(String context)
-
-