Class ResourceTokenValueRec
- java.lang.Object
 - 
- org.linuxforhealth.fhir.persistence.jdbc.dao.impl.ResourceRefRec
 - 
- org.linuxforhealth.fhir.persistence.jdbc.dao.impl.ResourceTokenValueRec
 
 
 
- 
public class ResourceTokenValueRec extends ResourceRefRec
A DTO representing a mapping of a resource and token value. The record is used to drive the population of the CODE_SYSTEMS, COMMON_TOKEN_VALUES TOKEN_VALUES_MAP and_TOKEN_VALUES_MAP tables.  
- 
- 
Constructor Summary
Constructors Constructor Description ResourceTokenValueRec(java.lang.String parameterName, java.lang.String resourceType, long resourceTypeId, long logicalResourceId, java.lang.String externalSystemName, java.lang.String externalRefValue, java.lang.Integer compositeId, boolean systemLevel)Public constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCodeSystemValue()intgetCodeSystemValueId()java.lang.LonggetCommonTokenValueId()java.lang.IntegergetCompositeId()java.lang.StringgetTokenValue()booleanisSystemLevel()voidsetCodeSystemValueId(int codeSystemValueId)voidsetCommonTokenValueId(long commonTokenValueId)Sets the database id for the commonTokenValue record.- 
Methods inherited from class org.linuxforhealth.fhir.persistence.jdbc.dao.impl.ResourceRefRec
getLogicalResourceId, getParameterName, getParameterNameId, getResourceType, getResourceTypeId, setParameterNameId 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ResourceTokenValueRec
public ResourceTokenValueRec(java.lang.String parameterName, java.lang.String resourceType, long resourceTypeId, long logicalResourceId, java.lang.String externalSystemName, java.lang.String externalRefValue, java.lang.Integer compositeId, boolean systemLevel)Public constructor.- Parameters:
 parameterName-resourceType-resourceTypeId-logicalResourceId-externalSystemName-externalRefValue-compositeId-systemLevel-
 
 - 
 
- 
Method Detail
- 
getCodeSystemValue
public java.lang.String getCodeSystemValue()
- Returns:
 - the codeSystemValue
 
 
- 
getCodeSystemValueId
public int getCodeSystemValueId()
- Returns:
 - the codeSystemValueId
 
 
- 
setCodeSystemValueId
public void setCodeSystemValueId(int codeSystemValueId)
- Parameters:
 externalSystemNameId- the externalSystemNameId to set
 
- 
getTokenValue
public java.lang.String getTokenValue()
- Returns:
 - the tokenValue
 
 
- 
getCommonTokenValueId
public java.lang.Long getCommonTokenValueId()
- Returns:
 - the commonTokenValueId, can be null if the value has not been set
 
 
- 
setCommonTokenValueId
public void setCommonTokenValueId(long commonTokenValueId)
Sets the database id for the commonTokenValue record.- Parameters:
 commontTokenValueId- to set
 
- 
getCompositeId
public java.lang.Integer getCompositeId()
- Returns:
 - the compositeId
 
 
- 
isSystemLevel
public boolean isSystemLevel()
- Returns:
 - the systemLevel
 
 
 - 
 
 -