Class Resource
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.dto.Resource
-
public class Resource extends java.lang.Object
This class defines the Data Transfer Object representing a row in the FHIR Resource table.
-
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCurrentParameterHash()
InputOutputByteStream
getDataStream()
java.lang.Integer
getIfNoneMatchVersion()
Getter for the ifNoneMatchVersion valueInteractionStatus
getInteractionStatus()
java.sql.Timestamp
getLastUpdated()
java.lang.String
getLogicalId()
long
getLogicalResourceId()
Getter for the logical_resources.logical_resource_id valuelong
getResourceId()
Getter for the database xx_resources.resource_id valuejava.lang.String
getResourcePayloadKey()
java.lang.String
getResourceType()
int
getResourceTypeId()
int
getVersionId()
boolean
isDeleted()
void
setCurrentParameterHash(java.lang.String currentParameterHash)
void
setDataStream(InputOutputByteStream dataStream)
void
setDeleted(boolean deleted)
void
setIfNoneMatchVersion(java.lang.Integer version)
Setter for the ifNoneMatchVersion valuevoid
setInteractionStatus(InteractionStatus interactionStatus)
void
setLastUpdated(java.sql.Timestamp lastUpdated)
void
setLogicalId(java.lang.String logicalId)
void
setLogicalResourceId(long logicalResourceId)
Setter for the logical_resources.logical_resource_id valuevoid
setResourceId(long id)
Setter for the database xx_resources.resource_id valuevoid
setResourcePayloadKey(java.lang.String resourcePayloadKey)
void
setResourceType(java.lang.String resourceType)
void
setResourceTypeId(int resourceTypeId)
void
setVersionId(int versionId)
java.lang.String
toString()
-
-
-
Method Detail
-
getResourceType
public java.lang.String getResourceType()
-
setResourceType
public void setResourceType(java.lang.String resourceType)
-
getLastUpdated
public java.sql.Timestamp getLastUpdated()
-
setLastUpdated
public void setLastUpdated(java.sql.Timestamp lastUpdated)
-
setIfNoneMatchVersion
public void setIfNoneMatchVersion(java.lang.Integer version)
Setter for the ifNoneMatchVersion value- Parameters:
version
-
-
getIfNoneMatchVersion
public java.lang.Integer getIfNoneMatchVersion()
Getter for the ifNoneMatchVersion value- Returns:
-
getResourceId
public long getResourceId()
Getter for the database xx_resources.resource_id value- Returns:
-
setResourceId
public void setResourceId(long id)
Setter for the database xx_resources.resource_id value- Parameters:
id
-
-
getLogicalResourceId
public long getLogicalResourceId()
Getter for the logical_resources.logical_resource_id value- Returns:
-
setLogicalResourceId
public void setLogicalResourceId(long logicalResourceId)
Setter for the logical_resources.logical_resource_id value- Parameters:
logicalResourceId
-
-
getLogicalId
public java.lang.String getLogicalId()
-
setLogicalId
public void setLogicalId(java.lang.String logicalId)
-
getVersionId
public int getVersionId()
-
setVersionId
public void setVersionId(int versionId)
-
isDeleted
public boolean isDeleted()
-
setDeleted
public void setDeleted(boolean deleted)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getDataStream
public InputOutputByteStream getDataStream()
- Returns:
- the dataStream
-
setDataStream
public void setDataStream(InputOutputByteStream dataStream)
- Parameters:
dataStream
- the dataStream to set
-
getInteractionStatus
public InteractionStatus getInteractionStatus()
- Returns:
- the interactionStatus
-
setInteractionStatus
public void setInteractionStatus(InteractionStatus interactionStatus)
- Parameters:
interactionStatus
- the interactionStatus to set
-
getResourceTypeId
public int getResourceTypeId()
- Returns:
- the resourceTypeId
-
setResourceTypeId
public void setResourceTypeId(int resourceTypeId)
- Parameters:
resourceTypeId
- the resourceTypeId to set
-
getResourcePayloadKey
public java.lang.String getResourcePayloadKey()
- Returns:
- the resourcePayloadKey
-
setResourcePayloadKey
public void setResourcePayloadKey(java.lang.String resourcePayloadKey)
- Parameters:
resourcePayloadKey
- the resourcePayloadKey to set
-
getCurrentParameterHash
public java.lang.String getCurrentParameterHash()
- Returns:
- the currentParameterHash
-
setCurrentParameterHash
public void setCurrentParameterHash(java.lang.String currentParameterHash)
- Parameters:
currentParameterHash
- the currentParameterHash to set
-
-