Class ResourceProfileRec
- java.lang.Object
 - 
- org.linuxforhealth.fhir.persistence.jdbc.dao.impl.ResourceRefRec
 - 
- org.linuxforhealth.fhir.persistence.jdbc.dao.impl.ResourceProfileRec
 
 
 
- 
public class ResourceProfileRec 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 ResourceProfileRec(java.lang.String parameterName, java.lang.String resourceType, long resourceTypeId, long logicalResourceId, java.lang.String canonicalValue, java.lang.String version, java.lang.String fragment, boolean systemLevel)Public constructor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCanonicalValue()longgetCanonicalValueId()Getter for the database idjava.lang.StringgetFragment()Get the optional string fragment of the canonical urijava.lang.StringgetVersion()Get the optional string version of the canonical uribooleanisSystemLevel()voidsetCanonicalValueId(long canonicalValueId)Sets the database id for the canonicalValue record.- 
Methods inherited from class org.linuxforhealth.fhir.persistence.jdbc.dao.impl.ResourceRefRec
getLogicalResourceId, getParameterName, getParameterNameId, getResourceType, getResourceTypeId, setParameterNameId 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ResourceProfileRec
public ResourceProfileRec(java.lang.String parameterName, java.lang.String resourceType, long resourceTypeId, long logicalResourceId, java.lang.String canonicalValue, java.lang.String version, java.lang.String fragment, boolean systemLevel)Public constructor- Parameters:
 parameterName-resourceType-resourceTypeId-logicalResourceId-canonicalValue-version-fragment-systemLevel-
 
 - 
 
- 
Method Detail
- 
getCanonicalValue
public java.lang.String getCanonicalValue()
- Returns:
 - the codeSystemValue
 
 
- 
getCanonicalValueId
public long getCanonicalValueId()
Getter for the database id- Returns:
 
 
- 
setCanonicalValueId
public void setCanonicalValueId(long canonicalValueId)
Sets the database id for the canonicalValue record.- Parameters:
 canonicalValueId- to set
 
- 
isSystemLevel
public boolean isSystemLevel()
- Returns:
 - the systemLevel
 
 
- 
getVersion
public java.lang.String getVersion()
Get the optional string version of the canonical uri- Returns:
 
 
- 
getFragment
public java.lang.String getFragment()
Get the optional string fragment of the canonical uri- Returns:
 
 
 - 
 
 -