Class ResourceReferenceValueRec
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.dao.impl.ResourceRefRec
-
- org.linuxforhealth.fhir.persistence.jdbc.dao.impl.ResourceReferenceValueRec
-
public class ResourceReferenceValueRec extends ResourceRefRec
A DTO representing a mapping of a resource and reference value. The record is used to drive the population of the xx_ref_values tables
-
-
Constructor Summary
Constructors Constructor Description ResourceReferenceValueRec(java.lang.String parameterName, java.lang.String resourceType, long resourceTypeId, long logicalResourceId, java.lang.String refResourceType, int refResourceTypeId, java.lang.String refLogicalId, java.lang.Integer refVersionId, java.lang.Integer compositeId)
Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getCompositeId()
java.lang.String
getRefLogicalId()
java.lang.Long
getRefLogicalResourceId()
Get the refLogicalResourceIdjava.lang.String
getRefResourceType()
int
getRefResourceTypeId()
java.lang.Integer
getRefVersionId()
void
setRefLogicalResourceId(long refLogicalResourceId)
Sets the database id for the referenced logical resource-
Methods inherited from class org.linuxforhealth.fhir.persistence.jdbc.dao.impl.ResourceRefRec
getLogicalResourceId, getParameterName, getParameterNameId, getResourceType, getResourceTypeId, setParameterNameId
-
-
-
-
Constructor Detail
-
ResourceReferenceValueRec
public ResourceReferenceValueRec(java.lang.String parameterName, java.lang.String resourceType, long resourceTypeId, long logicalResourceId, java.lang.String refResourceType, int refResourceTypeId, java.lang.String refLogicalId, java.lang.Integer refVersionId, java.lang.Integer compositeId)
Public constructor. Used to create a versioned reference record- Parameters:
parameterName
-resourceType
-resourceTypeId
-logicalResourceId
-refResourceType
-refResourceTypeId
-refLogicalId
-refVersionId
-compositeId
-
-
-
Method Detail
-
getRefLogicalResourceId
public java.lang.Long getRefLogicalResourceId()
Get the refLogicalResourceId- Returns:
-
setRefLogicalResourceId
public void setRefLogicalResourceId(long refLogicalResourceId)
Sets the database id for the referenced logical resource- Parameters:
refLogicalResourceId
- to set
-
getRefVersionId
public java.lang.Integer getRefVersionId()
- Returns:
- the refVersionId
-
getCompositeId
public java.lang.Integer getCompositeId()
- Returns:
- the compositeId
-
getRefResourceType
public java.lang.String getRefResourceType()
- Returns:
- the refResourceType
-
getRefLogicalId
public java.lang.String getRefLogicalId()
- Returns:
- the refLogicalId
-
getRefResourceTypeId
public int getRefResourceTypeId()
- Returns:
- the refResourceTypeId
-
-