Class PayloadPersistenceResponse
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.payload.PayloadPersistenceResponse
-
public class PayloadPersistenceResponse extends java.lang.Object
Data carrier encapsulating the response from the payload persistence component when making a call to offload the resource payload.
-
-
Constructor Summary
Constructors Constructor Description PayloadPersistenceResponse(java.lang.String resourcePayloadKey, java.lang.String resourceTypeName, int resourceTypeId, java.lang.String logicalId, int versionId, java.util.concurrent.Future<PayloadPersistenceResult> result)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLogicalId()
java.lang.String
getResourcePayloadKey()
int
getResourceTypeId()
java.lang.String
getResourceTypeName()
java.util.concurrent.Future<PayloadPersistenceResult>
getResult()
int
getVersionId()
java.lang.String
toString()
-
-
-
Constructor Detail
-
PayloadPersistenceResponse
public PayloadPersistenceResponse(java.lang.String resourcePayloadKey, java.lang.String resourceTypeName, int resourceTypeId, java.lang.String logicalId, int versionId, java.util.concurrent.Future<PayloadPersistenceResult> result)
Public constructor- Parameters:
resourcePayloadKey
-resourceTypeName
-resourceTypeId
-logicalId
-versionId
-result
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getResourceTypeName
public java.lang.String getResourceTypeName()
- Returns:
- the resourceTypeName
-
getResourceTypeId
public int getResourceTypeId()
- Returns:
- the resourceTypeId
-
getLogicalId
public java.lang.String getLogicalId()
- Returns:
- the logicalId
-
getVersionId
public int getVersionId()
- Returns:
- the versionId
-
getResourcePayloadKey
public java.lang.String getResourcePayloadKey()
- Returns:
- the resourcePayloadKey
-
getResult
public java.util.concurrent.Future<PayloadPersistenceResult> getResult()
- Returns:
- the result
-
-