Package com.ibm.fhir.persistence.payload
Class PayloadKey
- java.lang.Object
-
- com.ibm.fhir.persistence.payload.PayloadKey
-
public class PayloadKey extends Object
A key used to identify a payload object stored by the payload persistence layer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PayloadKey.Status
Enumeration of status types
-
Constructor Summary
Constructors Constructor Description PayloadKey(String resourceTypeName, int resourceTypeId, String logicalId, int versionId, String partitionKey, String payloadId, PayloadKey.Status status)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLogicalId()
String
getPartitionKey()
String
getPayloadId()
int
getResourceTypeId()
String
getResourceTypeName()
PayloadKey.Status
getStatus()
int
getVersionId()
String
toString()
-
-
-
Constructor Detail
-
PayloadKey
public PayloadKey(String resourceTypeName, int resourceTypeId, String logicalId, int versionId, String partitionKey, String payloadId, PayloadKey.Status status)
Public constructor- Parameters:
resourceTypeName
-resourceTypeId
-logicalId
-versionId
-partitionKey
-payloadId
-status
-
-
-
Method Detail
-
getResourceTypeName
public String getResourceTypeName()
- Returns:
- the resourceTypeName
-
getResourceTypeId
public int getResourceTypeId()
- Returns:
- the resourceTypeId
-
getLogicalId
public String getLogicalId()
- Returns:
- the logicalId
-
getVersionId
public int getVersionId()
- Returns:
- the versionId
-
getPartitionKey
public String getPartitionKey()
- Returns:
- the partitionKey
-
getPayloadId
public String getPayloadId()
- Returns:
- the payloadId
-
getStatus
public PayloadKey.Status getStatus()
- Returns:
- the status
-
-