Package ca.uhn.fhir.jpa.model.entity
Class ResourceModifiedEntity
java.lang.Object
ca.uhn.fhir.jpa.model.entity.ResourceModifiedEntity
- All Implemented Interfaces:
IPersistedResourceModifiedMessage
,Serializable
@Entity
public class ResourceModifiedEntity
extends Object
implements IPersistedResourceModifiedMessage, Serializable
This class describes how a resourceModifiedMessage is stored for later processing in the event where
submission to the subscription processing pipeline would fail. The persisted message does not include a
payload (resource) as an in-memory version of the same message would. Instead, it points to a payload
through the entity primary key
PersistedResourceModifiedMessageEntityPK
which is composed
of the resource Pid and current version.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCreatedTime
(Date theCreatedTime) setResourceModifiedEntityPK
(PersistedResourceModifiedMessageEntityPK theResourceModifiedEntityPK) setResourceType
(String theResourceType) setSummaryResourceModifiedMessage
(String theSummaryResourceModifiedMessage)
-
Field Details
-
MESSAGE_LENGTH
- See Also:
-
-
Constructor Details
-
ResourceModifiedEntity
public ResourceModifiedEntity()
-
-
Method Details
-
getResourceModifiedEntityPK
-
setResourceModifiedEntityPK
public ResourceModifiedEntity setResourceModifiedEntityPK(PersistedResourceModifiedMessageEntityPK theResourceModifiedEntityPK) -
getResourceType
- Specified by:
getResourceType
in interfaceIPersistedResourceModifiedMessage
-
setResourceType
-
getCreatedTime
- Specified by:
getCreatedTime
in interfaceIPersistedResourceModifiedMessage
-
setCreatedTime
-
getSummaryResourceModifiedMessage
-
setSummaryResourceModifiedMessage
public ResourceModifiedEntity setSummaryResourceModifiedMessage(String theSummaryResourceModifiedMessage) -
getPersistedResourceModifiedMessagePk
- Specified by:
getPersistedResourceModifiedMessagePk
in interfaceIPersistedResourceModifiedMessage
-