Package com.ibm.fhir.persistence
Class ResourceChangeLogRecord
- java.lang.Object
-
- com.ibm.fhir.persistence.ResourceChangeLogRecord
-
public class ResourceChangeLogRecord extends java.lang.Object
Represents a record read from the RESOURCE_CHANGE_LOG
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceChangeLogRecord.ChangeType
-
Constructor Summary
Constructors Constructor Description ResourceChangeLogRecord(java.lang.String resourceTypeName, java.lang.String logicalId, int versionId, long changeId, java.time.Instant changeTstamp, ResourceChangeLogRecord.ChangeType ct)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getChangeId()
java.time.Instant
getChangeTstamp()
ResourceChangeLogRecord.ChangeType
getChangeType()
java.lang.String
getLogicalId()
java.lang.String
getResourceTypeName()
int
getVersionId()
-
-
-
Constructor Detail
-
ResourceChangeLogRecord
public ResourceChangeLogRecord(java.lang.String resourceTypeName, java.lang.String logicalId, int versionId, long changeId, java.time.Instant changeTstamp, ResourceChangeLogRecord.ChangeType ct)
-
-
Method Detail
-
getResourceTypeName
public java.lang.String getResourceTypeName()
- Returns:
- the resourceTypeName
-
getChangeId
public long getChangeId()
- Returns:
- the resourceId
-
getChangeType
public ResourceChangeLogRecord.ChangeType getChangeType()
- Returns:
- the changeType
-
getChangeTstamp
public java.time.Instant getChangeTstamp()
- Returns:
- the changeTstamp
-
getVersionId
public int getVersionId()
- Returns:
- the versionId
-
getLogicalId
public java.lang.String getLogicalId()
- Returns:
- the logicalId
-
-