Class Resource
- java.lang.Object
-
- com.ibm.fhir.persistence.jdbc.dto.Resource
-
public class Resource extends 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()
Integer
getIfNoneMatchVersion()
Getter for the ifNoneMatchVersion valueInteractionStatus
getInteractionStatus()
Timestamp
getLastUpdated()
String
getLogicalId()
long
getLogicalResourceId()
String
getResourceType()
int
getVersionId()
boolean
isDeleted()
void
setDataStream(InputOutputByteStream dataStream)
void
setDeleted(boolean deleted)
void
setId(long id)
void
setIfNoneMatchVersion(Integer version)
Setter for the ifNoneMatchVersion valuevoid
setInteractionStatus(InteractionStatus interactionStatus)
void
setLastUpdated(Timestamp lastUpdated)
void
setLogicalId(String logicalId)
void
setLogicalResourceId(long logicalResourceId)
void
setResourceType(String resourceType)
void
setVersionId(int versionId)
String
toString()
-
-
-
Method Detail
-
getResourceType
public String getResourceType()
-
setResourceType
public void setResourceType(String resourceType)
-
getLastUpdated
public Timestamp getLastUpdated()
-
setLastUpdated
public void setLastUpdated(Timestamp lastUpdated)
-
setIfNoneMatchVersion
public void setIfNoneMatchVersion(Integer version)
Setter for the ifNoneMatchVersion value- Parameters:
version
-
-
getIfNoneMatchVersion
public 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 String getLogicalId()
-
setLogicalId
public void setLogicalId(String logicalId)
-
getVersionId
public int getVersionId()
-
setVersionId
public void setVersionId(int versionId)
-
isDeleted
public boolean isDeleted()
-
setDeleted
public void setDeleted(boolean deleted)
-
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
-
-