Package ca.uhn.fhir.jpa.dao
Class IdSubstitutionMap
java.lang.Object
ca.uhn.fhir.jpa.dao.IdSubstitutionMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsSource
(String theId) boolean
containsSource
(org.hl7.fhir.instance.model.api.IIdType theId) boolean
containsTarget
(String theId) boolean
containsTarget
(org.hl7.fhir.instance.model.api.IIdType theId) List
<org.apache.commons.lang3.tuple.Pair<org.hl7.fhir.instance.model.api.IIdType, org.hl7.fhir.instance.model.api.IIdType>> entrySet()
org.hl7.fhir.instance.model.api.IIdType
getForSource
(String theId) org.hl7.fhir.instance.model.api.IIdType
getForSource
(org.hl7.fhir.instance.model.api.IIdType theId) boolean
isEmpty()
void
put
(org.hl7.fhir.instance.model.api.IIdType theSource, org.hl7.fhir.instance.model.api.IIdType theTarget) void
updateTargets
(org.hl7.fhir.instance.model.api.IIdType theNewId) Updates all targets of the map with a new id value if the input id has the same ResourceType and IdPart as the target id.
-
Constructor Details
-
IdSubstitutionMap
public IdSubstitutionMap()
-
-
Method Details
-
containsSource
-
containsSource
-
containsTarget
-
containsTarget
-
getForSource
public org.hl7.fhir.instance.model.api.IIdType getForSource(org.hl7.fhir.instance.model.api.IIdType theId) -
getForSource
-
entrySet
-
put
public void put(org.hl7.fhir.instance.model.api.IIdType theSource, org.hl7.fhir.instance.model.api.IIdType theTarget) -
isEmpty
-
updateTargets
Updates all targets of the map with a new id value if the input id has the same ResourceType and IdPart as the target id.
-