Class Resource
- java.lang.Object
-
- com.ibm.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 InputOutputByteStream
getDataStream()
long
getId()
java.lang.Integer
getIfNoneMatchVersion()
Getter for the ifNoneMatchVersion valueInteractionStatus
getInteractionStatus()
java.sql.Timestamp
getLastUpdated()
java.lang.String
getLogicalId()
long
getLogicalResourceId()
java.lang.String
getResourcePayloadKey()
java.lang.String
getResourceType()
int
getResourceTypeId()
int
getVersionId()
boolean
isDeleted()
void
setDataStream(InputOutputByteStream dataStream)
void
setDeleted(boolean deleted)
void
setId(long id)
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)
void
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:
-
getId
public long getId()
-
setId
public void setId(long id)
-
getLogicalResourceId
public long getLogicalResourceId()
-
setLogicalResourceId
public void setLogicalResourceId(long 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
-
-