Class PathAndRef
java.lang.Object
ca.uhn.fhir.jpa.searchparam.extractor.PathAndRef
-
Constructor Summary
ConstructorDescriptionPathAndRef
(String theSearchParamName, String thePath, org.hl7.fhir.instance.model.api.IBaseReference theRef, boolean theCanonical) Constructor for a referencePathAndRef
(String theSearchParamName, String thePath, org.hl7.fhir.instance.model.api.IBaseResource theResource) Constructor for a resource (this is expected to be rare, only really covering cases like the path Bundle.entry.resource) -
Method Summary
Modifier and TypeMethodDescriptiongetPath()
org.hl7.fhir.instance.model.api.IBaseReference
getRef()
If this is populated,getResource()
will be null, and vice versa.org.hl7.fhir.instance.model.api.IBaseResource
Note that this will generally be null, it is only used for cases like indexing Bundle.entry.resource.boolean
toString()
-
Constructor Details
-
PathAndRef
public PathAndRef(String theSearchParamName, String thePath, org.hl7.fhir.instance.model.api.IBaseReference theRef, boolean theCanonical) Constructor for a reference -
PathAndRef
public PathAndRef(String theSearchParamName, String thePath, org.hl7.fhir.instance.model.api.IBaseResource theResource) Constructor for a resource (this is expected to be rare, only really covering cases like the path Bundle.entry.resource)
-
-
Method Details
-
getResource
Note that this will generally be null, it is only used for cases like indexing Bundle.entry.resource. If this is populated,getRef()
will be null and vice versa.- Since:
- 6.6.0
-
isCanonical
-
getSearchParamName
-
getPath
-
getRef
If this is populated,getResource()
will be null, and vice versa. -
toString
-