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()
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
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)
-
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
-
-